Neal> The hotshot doc states:

    Neal> Note

    Neal> The hotshot module focuses on minimizing the overhead while
    Neal> profiling, at the expense of long data post-processing times. For
    Neal> common usages it is recommended to use cProfile instead. hotshot
    Neal> is not maintained and might be removed from the standard library
    Neal> in the future.

    Neal> Caveat

    Neal> The hotshot profiler does not yet work well with threads. It is
    Neal> useful to use an unthreaded script to run the profiler over the
    Neal> code you're interested in measuring if at all possible.

The cProfile module has the same benefit as hotshot (low run-time cost),
without the downside of long post-processing times.  On that basis alone I
would argue that hotshot be dropped.

Skip
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to