vmprof / vmprof-python

vmprof - a statistical program profiler
https://vmprof.readthedocs.io
Other
433 stars 55 forks source link

callgrind output format #115

Open anntzer opened 7 years ago

anntzer commented 7 years ago

https://github.com/vpelletier/pprofile is a pure python statistical profiler which has (IMO) a main strong feature compared to other profilers: it can output its result directly in callgrind format (https://github.com/vpelletier/pprofile#output), which means that they can be visualized using tools built for that purpose (e.g. kcachegrind, http://kcachegrind.github.io).

Is there any chance a callgrind output format could be added to vmprof?

Thanks in advance.

planrich commented 7 years ago

I see the benefit of your proposal. Though I'm not sure how hard it would be to directly generate that profile format. Maybe it would be easier to transform the current format.

I'd be happy to review a patch for that, I'm currently busy finishing up for version 0.4.0.

fijal commented 7 years ago

Hi

There are several problems with callgrind output (the viewer shows cycles). It's easy to generate the format, I think I have a script somewhere that converts one to the other (but not sure where)

On Wed, Feb 15, 2017 at 12:12 PM, Richard Plangger <notifications@github.com

wrote:

I see the benefit of your proposal. Though I'm not sure how hard it would be to directly generate that profile format. Maybe it would be easier to transform the current format.

I'd be happy to review a patch for that, I'm currently busy finishing up for version 0.4.0.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vmprof/vmprof-python/issues/115#issuecomment-279983641, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFPuPgiwC5FmyhIlt-VtOzcunp4t4MFks5rct27gaJpZM4MBS0t .