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

Feature Request: list of hotspots by self time #302

Closed
andredasilvapinto opened this issue Feb 20, 2020 · 2 comments
Closed

Feature Request: list of hotspots by self time #302

andredasilvapinto opened this issue Feb 20, 2020 · 2 comments

Comments

@andredasilvapinto
Copy link

andredasilvapinto commented Feb 20, 2020

Would it be possible to add an output format that sorts usage by the aggregated sum of self time per function?

I feel like the hierarchical nature of the current representations is not optimal for detecting bottlenecks as the same method can be invoke by following multiple different code paths.

@apangin
Copy link
Collaborator

apangin commented Feb 20, 2020

Such option has existed from the very beginning :)
Use -o flat to get the list of hot spots sorted by self time.

Alternatively, try --reverse to flip Flame Graph or Tree View from bottom to top, that its, the graph will have the hottest leaf methods as roots.

@andredasilvapinto
Copy link
Author

Thanks! I knew I couldn't be the only one looking for this.

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

No branches or pull requests

2 participants