-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Experiment: Create timing report. #7311
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0664484
Experiment: Create timing report.
ehuss aca3274
Add rustc info to timing output.
ehuss 674150e
Move hardlink_or_copy to a common location so it can be reused.
ehuss 6f353b5
Make the cargo-timing.html filename unique per run.
ehuss 06ed7a4
Add some asserts.
ehuss da07061
Remove format!
ehuss 8bfae2d
Make timings optional.
ehuss 911a9b0
Always emit rmeta when timings are enable to visualize codegen everyw…
ehuss 095f154
Give build scripts a different color.
ehuss 77a47b3
Switch rendering to canvas.
ehuss 0df0595
Update docs.
ehuss 6c6aa97
Remove Option from Timings.
ehuss aae1416
Style update.
ehuss e913efe
Move timings check to rmeta_required.
ehuss 8be10f7
Set min slider to step 0.1 seconds.
ehuss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically for the highest fidelity of timing information we should push this
unit_start
to just before the process is actually spawned on the worker thread itself (using internal synchronization inself.timings
). It's probably not worth doing that just yet though since we're already getting what appears to be pretty accurate timing information.