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

[SR-16] debug-time-function-bodies' output isn't precise enough #42639

Closed
swift-ci opened this issue Dec 3, 2015 · 1 comment
Closed

[SR-16] debug-time-function-bodies' output isn't precise enough #42639

swift-ci opened this issue Dec 3, 2015 · 1 comment
Labels
compiler The Swift compiler in itself improvement

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Dec 3, 2015

Previous ID SR-16
Radar None
Original Reporter maxs (JIRA User)
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement
Assignee add210 (JIRA)
Priority Medium

md5: a841b95419429fa37d43c78e96c6bee6

Issue Description:

If you use debug-time-function-bodies to determine which parts of your code are slow to compile you might notice the numbers don't add up. For me, it only added up to half the amount of time in the profile trace. This is because it rounds to only one decimal place! We should print with two, or even more, decimal places so the time adds up correctly.

@ZevEisenberg
Copy link
Contributor

Oops, dropped a juggling ball on my keyboard while browsing the bug list (as you do), and accidentally assigned this to myself. Sorry!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself improvement
Projects
None yet
Development

No branches or pull requests

2 participants