Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not reflect true compile time per file #43

Open
a-vlad opened this issue Aug 30, 2016 · 2 comments
Open

Not reflect true compile time per file #43

a-vlad opened this issue Aug 30, 2016 · 2 comments

Comments

@a-vlad
Copy link

a-vlad commented Aug 30, 2016

The flag used -debug-time-function-bodies only dumps function body times which can account for only a small subset of the total build time per file / for all swift files for some projects.

Would be better to add support for -debug-time-compilation flag which dumps total build time including its components on a per file basis.

Ref here for more flag info: https://bugs.swift.org/browse/SR-1788

Other option is use -driver-time-compilation recently added to fix above issue in this PR: swiftlang/swift#4367

@RobertGummesson
Copy link
Owner

Nice find, @a-vlad ! Will look into this. May need to get the standalone stuff working first though. Xcode 8 will soon be out of beta and I should have been further. :)

@taglia3
Copy link

taglia3 commented Mar 8, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants