Xcode Timing Summary

I want to perform a few experiments on compile times with respect to keywords

  • final class
  • lazy
  • fileprivate vs private vs internal vs public vs open

Xcode provides a build time summary under Product -> Perform Action -> Build With Timing Summary:

I would want to perform some statistics on these compile times and, as such, want a version that a computer could parse. How do find such a file assuming it exists? Alternatively, could this somehow be easier compiling Swift using the command line tools?

This might help: https://irace.me/swift-profiling

You should be able to get the results into a computer readable format from that.

1 Like

Awesome. Thank you.

Terms of Service

Privacy Policy

Cookie Policy