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

Allocation profiler and some profiler tweaks #2890

Merged
merged 5 commits into from May 24, 2022
Merged

Conversation

pfitzseb
Copy link
Member

image

  • adds @profview_allocs/view_alloc_profile
  • flame graph view of allocations is scaled with x^1/5 because of the big differences in magnitude of allocation
  • in-editor display is now always relative to root count
  • percentage displayed in flame graph is now always relative to root count

pfitzseb and others added 2 commits May 20, 2022 12:00
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
and add two alloc profiler modes
@pfitzseb
Copy link
Member Author

pfitzseb commented May 20, 2022

This now supports a count and an size mode, much like PProf:
image
image

@pfitzseb pfitzseb marked this pull request as ready for review May 24, 2022 10:54
@pfitzseb pfitzseb merged commit d30fc70 into master May 24, 2022
@aviatesk aviatesk deleted the sp/allocation-profiler branch May 24, 2022 10:55
@aviatesk
Copy link
Member

Yay!

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.

None yet

2 participants