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

Charts not displaying with elements scaled appropriately #153

Open
Finndersen opened this issue Sep 20, 2020 · 0 comments
Open

Charts not displaying with elements scaled appropriately #153

Finndersen opened this issue Sep 20, 2020 · 0 comments

Comments

@Finndersen
Copy link

I'm generating profile stats data using a custom class that measures execution time of operations.
It's produced in same format as Profile.stats data (dictionary with function details as key, values are [calL_count, stack count, total time, cumulative time, ]

I'm dumping the data to file then using snakeviz.ipymagic.open_snakeviz_and_display_in_notebook to display in Jupyter notebook.
Snakeviz parses the data just fine and generates charts which are almost correct but the blocks aren't scaled appropriately, they're all the same size even though they have different Cumulative Time values which Snakeviz recognizes but just doesnt display properly. You can see the profile data varies in the table
Snakeviz

Snakeviz displays charts scaled appropriately when using stats output generated from cProfile.Profile. But I don't know why, because the data I'm generating is exactly the same format.
Any ideas why this is happening?

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

1 participant