Skip to content

[BOLT][heatmap] Use parsed basic/branch events #136531

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

Conversation

aaupov
Copy link
Contributor

@aaupov aaupov commented Apr 21, 2025

Remove duplicate profile parsing in heatmap construction, switching to
using parsed profile. #138798 adds support for using pre-aggregated
profile for heatmap construction.

Test Plan: added heatmap.test in rafaelauler/bolt-tests@0868850

aaupov added 2 commits April 20, 2025 19:49
Created using spr 1.3.4
Copy link

github-actions bot commented Apr 21, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

jeremyd2019 and others added 2 commits April 24, 2025 14:21
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events to main April 24, 2025 21:22
aaupov and others added 2 commits May 1, 2025 17:30
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the base branch from main to users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events May 2, 2025 00:31
aaupov and others added 2 commits May 1, 2025 17:32
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events to users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events-1 May 2, 2025 00:33
@aaupov aaupov changed the title [BOLT][NFCI] Switch heatmap to using parsed basic/branch events [BOLT] Switch heatmap to using parsed basic/branch events May 2, 2025
@aaupov aaupov changed the title [BOLT] Switch heatmap to using parsed basic/branch events [BOLT] Use parsed basic/branch events for heatmap May 2, 2025
aaupov and others added 2 commits May 2, 2025 14:00
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the title [BOLT] Use parsed basic/branch events for heatmap [BOLT][NFC] Use parsed basic/branch events for heatmap May 2, 2025
aaupov added 2 commits May 2, 2025 14:09
Created using spr 1.3.4
Created using spr 1.3.4
@aaupov aaupov marked this pull request as ready for review May 2, 2025 21:20
@aaupov aaupov changed the title [BOLT][NFC] Use parsed basic/branch events for heatmap [BOLT] Use parsed basic/branch events for heatmap May 9, 2025
@aaupov aaupov changed the title [BOLT] Use parsed basic/branch events for heatmap [BOLT][heatmap] Use parsed basic/branch events May 9, 2025
aaupov and others added 2 commits May 10, 2025 19:07
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Copy link
Contributor

@maksfb maksfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Is there a functional change in this PR?

@aaupov
Copy link
Contributor Author

aaupov commented May 13, 2025

Looks good. Is there a functional change in this PR?

There should be no. I tested one binary/perf.data pair and the heatmaps were identical (rafaelauler/bolt-tests@0868850)

@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events-1 to main May 13, 2025 00:31
@aaupov aaupov changed the base branch from main to users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events-1 May 13, 2025 00:32
aaupov and others added 2 commits May 12, 2025 17:32
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfci-switch-heatmap-to-using-parsed-basicbranch-events-1 to main May 13, 2025 00:32
@aaupov aaupov merged commit f2351d9 into main May 13, 2025
9 of 15 checks passed
@aaupov aaupov deleted the users/aaupov/spr/boltnfci-switch-heatmap-to-using-parsed-basicbranch-events branch May 13, 2025 00:33
aaupov added a commit that referenced this pull request May 13, 2025
Reuse data structures used by perf data reader for pre-aggregated data.
Combined with #136531 this allows using pre-aggregated data for heatmap.

Test Plan: heatmap-preagg.test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants