467,075 Members | 1,115 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

using hotshot for timing and coverage analysis

Aloha,

hotshot.Profile has flags for recording timing per line and line
events. Even if i had both set to 1 i still get only the
standard data (time per call).

Is there any document available that has examples how to use
the hotshot for converage analysis and to display timing
per line?

Hoping for an answer and wishing a happy day
LOBI
Jul 21 '05 #1
  • viewed: 1434
Share:
1 Reply
Andreas Lobinger wrote:
hotshot.Profile has flags for recording timing per line and line events.
Even if i had both set to 1 i still get only the standard data (time per
call).
Could it be that pstats.Stats doesn't know about hotshot? Haven't checked...

What's much more annoying about hotshot is that loading the stats takes
ages if one profiles stuff that runs about half a minute or so. At least
it does that on Python 2.4.1a0 as shipped with Debian testing a while ago.
Is there any document available that has examples how to use the hotshot
for converage analysis and to display timing per line?


Haven't looked thoroughly yet; all I know is what's in the Python docs.

--
Thomas

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Rodrigo Daunaravicius | last post: by
1 post views Thread by Geert Jansen | last post: by
7 posts views Thread by patrickmee@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.