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

Option to display percentages of total runtime #41

Closed
kburns opened this issue Nov 11, 2014 · 2 comments
Closed

Option to display percentages of total runtime #41

kburns opened this issue Nov 11, 2014 · 2 comments

Comments

@kburns
Copy link

kburns commented Nov 11, 2014

One useful feature of runsnakerun that might be a good addition to snakeviz would be an option for switching the displayed timings from the current absolute scale (seconds) to percentages of the total runtime.

This might also provide a good discriminator for dropping branches of the call tree with a small cumulative runtime (i.e. by default drop branches with a cumulative time of < 0.1% of the total time, for instance).

@jiffyclub
Copy link
Owner

Please have a look at #42, which I think will address this. The information displayed about a function now includes both the cumulative time spent in a function and what percentage of the total time that is.

@kburns
Copy link
Author

kburns commented Dec 2, 2014

Thanks for the addition!

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