Jp Calderone ([info]jcalderone) wrote,
@ 2006-03-04 23:53:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
cProfile and kcachegrind
Armin Rigo's cProfile is pretty cool, and will be in Python 2.5. KCacheGrind is basically the most awesome profile analysis tool I have ever seen. But how can you use cProfile with KCacheGrind? Itamar and I took a patch against lsprof (cProfile's immediate ancestor) from David Allouche's blog, changed it to be a stand-alone module and updated it to work with cProfile. It's pretty awesome. If you are profiling Python you almost certainly cannot live without it.



(3 comments) - (Post a new comment)


[info]anthonybaxter
2006-03-05 06:29 am UTC (link)
Have you considered submitting this for inclusion in Python 2.5? If you can't be bothered with the hell of SF's tracker, mind if I submit it? This is way cool.

(Reply to this) (Thread)

You need to check with author of upstream patch
(Anonymous)
2006-03-08 08:08 pm UTC (link)
Since he wrote original code. JP and I are fine with this I'm sure. --itamarst

(Reply to this) (Parent)

updated module
[info]antti.kaihola.fi
2008-02-17 09:59 am UTC (link)
Isn't this a newer version of the same module: http://www.gnome.org/~johan/lsprofcalltree.py

(Reply to this)


(3 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…