Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
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

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Fernando Perez
On 7/31/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Eric Firing wrote: > > I don't have a lot of experience with profiling... > Slightly OT, but I do have a recommendation for anyone doing Python > profiling. I don't usually get very excited about GUI tools, but > KCachegrind (Linux only)

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Michael Droettboom
Eric Firing wrote: > I don't have a lot of experience with profiling... Slightly OT, but I do have a recommendation for anyone doing Python profiling. I don't usually get very excited about GUI tools, but KCachegrind (Linux only) is very slick and works great with Python. It's really handy to

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Eric Firing
Darren, The two cases you ran have almost identical timing, so the problem is not in reading matplotlib.conf. Instead, it seems to be in the initialization of all the machinery, and I suspect that something may be getting run many times in a loop instead of just once. I used the profile.py

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Fernando Perez
On 7/31/07, Darren Dale <[EMAIL PROTECTED]> wrote: > I am attaching the results for two different tests. One is loading the default > mpl-data/matplotlib.conf, the other is loading an empty > ~/.matplotlib/matplotlib.conf. I haven't done much work with profiling, maybe > others can make some comme

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
On Tuesday 31 July 2007 11:08:42 am Darren Dale wrote: > On Monday 30 July 2007 07:10:01 pm Eric Firing wrote: > > Darren Dale wrote: > > > I just committed changes in svn that will allow matplotlib to use the > > > experimental traited mplconfig module. The traited config object itself > > > is ca

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
On Monday 30 July 2007 07:10:01 pm Eric Firing wrote: > Darren Dale wrote: > > I just committed changes in svn that will allow matplotlib to use the > > experimental traited mplconfig module. The traited config object itself > > is called mplConfig, but I wrapped it in an object called rcParams to

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
Hi Eric, On Monday 30 July 2007 10:14:22 pm Eric Firing wrote: > I have not made any matplotlib.conf other than the one that is now being > installed correctly in mpl-data, and it contains > > # display grid on regular or polar axes > grid = False > polargrid = True > > grep indicat