On Tuesday 31 July 2007 02:12:06 pm you wrote:
> Looking at the profile outputs, a couple of things stand out in the new
> version.  First, various Traits things are prominent near the top.

pycachegrind is telling me that traits_db is responsible for about 20%, 
configobj is responsible for about 30%, and the config package another 30%.

> Second, look at the lines for posixpath functions, which are taking
> quite a bit of time.  Here are two examples:
>
>       5651    0.108    0.000    0.188    0.000 posixpath.py:56(join)
> [...]
>        273    0.012    0.000    0.164    0.001 posixpath.py:410(realpath)
>
> If I understand correctly, path.join is being called 5651 times!  And
> realpath is being called 273 times!  

I think the posix_path stuff is being called most often by python while it 
attempts to locate modules. 

[...]
> I would not like to see mpl become a library that is painfully sluggish
> to start up; it is already too slow for my liking, with font setup being
> a major contributor.

I agree.

Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to