-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
learn(frame-graphs): update the ways to view flame graphs #8555
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
base: main
Are you sure you want to change the base?
Conversation
Updated instructions for generating and visualizing flame graphs, including browser preview and local setup options. Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
👋 Codeowner Review RequestThe following codeowners have been identified for the changed files: Team reviewers: @nodejs/diagnostics Please review the changes when you have a chance. Thank you! 🙏 |
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.
Pull request overview
This PR updates the flame graphs documentation to provide users with an additional browser-based option for visualizing flame graphs using flamegraph.com, eliminating the need to clone and set up the FlameGraph tools locally.
Changes:
- Added browser-based preview option using flamegraph.com website
- Restructured step 6 to present two alternatives: browser preview and local FlameGraph tools setup
- Updated the follow-up text to be more generic and apply to both visualization methods
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| Once the flame graph is rendered, inspect the most saturated orange bars first. They're likely to represent CPU heavy functions. | ||
|
|
||
| Worth mentioning - if you click an element of a flame graph a it will zoom-in on the section you clicked. |
Copilot
AI
Jan 15, 2026
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.
There is an extra 'a' in the sentence. It should read 'if you click an element of a flame graph it will zoom-in' (removing the extra 'a').
| Worth mentioning - if you click an element of a flame graph a it will zoom-in on the section you clicked. | |
| Worth mentioning - if you click an element of a flame graph it will zoom-in on the section you clicked. |
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.
Might as well fix this too
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8555 +/- ##
==========================================
+ Coverage 74.96% 75.00% +0.03%
==========================================
Files 103 103
Lines 9036 9036
Branches 312 311 -1
==========================================
+ Hits 6774 6777 +3
+ Misses 2260 2257 -3
Partials 2 2 ☔ View full report in Codecov by Sentry. |
📦 Build Size ComparisonSummary
Changes➕ Added Assets (1)
➖ Removed Assets (1)
|
Description
I’ve just discovered this page that has been helping me preview flame graphs, and it could be useful for others as well, avoiding the need to clone another package.
Validation
Related Issues
Check List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.