On Dec 13, 2007 11:47 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > Fernando Perez wrote: > > On Dec 13, 2007 11:18 AM, John Hunter <[EMAIL PROTECTED]> wrote: > >> Do we need namespace packages in toolkits? I recently added gtktools > >> and exceltools to toolkits, and got a very hard to debug error: > > > > Welcome to the wonderful world of setuptools' under-the-covers magic :) > > Fernando, > > Was this also the culprit that you and someone from enthought identified > as causing the slow startup when using traits? This was a while back > when I was complaining about a big startup time increase with Darren's > traits-enabled configuration scheme.
Kind of, in a general sense. As best as we understood it from simple profiling runs, the issue was that when NS packages are enabled, the number of filesystem calls made in path searches explodes. That's obviously always going to be a problem, but it's particularly concerning for those of us (like John and myself) who live in environments where most things are network-mounted disks (NFS, typically). Tens of thousands of path searches over the network can really cause a hit. But setuptools is complex enough that I don't want to badmouth it without a very precise analysis of the real root causes of the problems, which I don't have time for right now. I just know that using it well will require some understanding of its behavior, which is a bit 'magic' at times. Cheers, f ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel