-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for differential flame graphs (#60)
This adds the ability to easily compare before and after profiles when benchmarking code changes. If the folded profile file has an extra samples column at the end it will be interpreted as a differential profile and the delta between the before and after will be calculated. The resulting flame graph is drawn using the after profile, but is colorized based on the delta. It gets a red hue where the after profile spends more time, and a blue hue where it spends less time. You can also pass the --negate flag to switch the red and blue. To create the differential profile files that this feature expects, you can use the difffolded.pl script from upstream FlameGraph. We have not yet ported this to Rust.
- Loading branch information
1 parent
ff4ae74
commit 65587d8
Showing
9 changed files
with
828 additions
and
63 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/perf* | ||
*.log | ||
/*.svg | ||
.DS_Store |
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.