sort profile stats by percall

Jp Calderone exarkun at intarweb.us
Sat Jan 24 12:06:42 EST 2004


On Sat, Jan 24, 2004 at 03:23:04AM +0000, Lee Harr wrote:
> 
> Is there an easy way to sort the stats returned from
> the hotshot.Profile() by the percall column?
> 

  statsObj.sort_stats('calls')

  Jp

> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 




More information about the Python-list mailing list