Archives May 3, 2009
Do not use "profile", use "cProfile"
Written by
on
in
Snaking.
For those who didn't see the presentation at PyCon:
- do not use the profile module with python 2.x
- use the cProfile module (or hotshot if you're on < 2.4)
the profile module has extremely high overhead and will produce results that would have you doing the wrong thing if you were to believe them. See ...