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

Format support: Import from vmprof #213

Closed
belm0 opened this issue Feb 26, 2019 · 3 comments
Closed

Format support: Import from vmprof #213

belm0 opened this issue Feb 26, 2019 · 3 comments

Comments

@belm0
Copy link

belm0 commented Feb 26, 2019

vmprof is a good sampling profiler for Python (native function support, etc.), but it has a terrible UI (vmprof/vmprof-server#2, vmprof/vmprof-server#38).

I'm wondering if would take much to convert vmprof to speedscope format.

https://vmprof.readthedocs.io/en/latest/format.html

I'm aware of effort for pyspy to output one of the speedscope formats, but that seems like a work in progress (as is pyspy's native function support).

@belm0
Copy link
Author

belm0 commented Feb 26, 2019

indeed the vmprof data appears to just be a list of samples

the vmprof package includes utilities for reading the data format and walking the tree

@belm0
Copy link
Author

belm0 commented Feb 26, 2019

I see, I can use https://github.com/methane/vmprof-flamegraph for conversion from vmprof to brendan gregg's flamegraph format, which speedscope supports natively.

@belm0 belm0 closed this as completed Feb 26, 2019
@jlfwong
Copy link
Owner

jlfwong commented Feb 26, 2019

@belm0 If the conversion from vmprof to brendan gregg's flamegraph format is lossy, I'd accept a PR to add support specifically for vmprof

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