Xcode-beta (7A165t): Build time statistics

Originator:robert.vojta
Number:rdar://21960591 Date Originated:23-Jul-2015 03:34 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (7A165t)
Classification:Feature (New) Reproducible:Always
 
Sometimes it’s useful to know build time stats. Per method, per file, whole project, … So far we have:

1) Whole project build time

Officially not supported preferences:

   defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES

2) We can use hidden flags of Swift compiler to find what causes long compile time

  -Xfrontend -debug-time-function-bodies

But what’s missing is compile time per file.

Would be nice to have these officially supported along with new per file build/compile time.

See discussion: http://stackoverflow.com/a/31521186/581190

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!