Python profiling on OLPC machine
Guido van Rossum
guido at python.org
Mon Mar 26 17:17:11 EDT 2007
IMO the profile module is fine, no need to upgrade to hotshot.
On 3/26/07, William Cohen <wcohen at redhat.com> wrote:
> 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
> _______________________________________________
> Devel mailing list
> Devel at laptop.org
> http://mailman.laptop.org/mailman/listinfo/devel
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Devel
mailing list