On 12/12/06, John Hunter <[EMAIL PROTECTED]> wrote:

> --verbose-helpful will confirm the setting).  A good way to start is
> to write a demonstration script that you find too slow which makes a
> call to savefig, and run it with
>
>   > time myscript.py --verbose-helpful -dAgg

It may be worth mentioning here this little utility (Linux only, unfortunately):

http://amath.colorado.edu/faculty/fperez/python/profiling/

For profiling more complex codes, it's really a godsend.  And note
that the generated cachegrind files are typically small and can be
sent to others for analysis, so you can run it locally (if for example
the run depends on data you can't share) and then send to the list the
generated profile.  Anyone with Kcachegrind will then be able to load
your profile info and study it in detail.

Cheers,

f

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to