Python profiling on OLPC machine

William Cohen wcohen at redhat.com
Mon Mar 26 17:08:57 EDT 2007


Hi all,

There is a page that describes modifying python scripts to get hotshot profiling 
  information:

http://wiki.laptop.org/go/Sugar_Performance

The wiki page says that the profile module is depricated. However, it seems 
mucheasire  to run profile with:

	python -m profile -o /tmp/zzz /usr/bin/sugar-activity Web

Is there any thought in modifying the hotshot module to provide a similar 
command-line interface?

I was able to get some data via profile, but reading various documents seem to 
indicate that the profile module has excess overhead.

-Will



More information about the Devel mailing list