Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Kevin Horn
On Wed, Nov 2, 2011 at 5:51 PM, Glyph Lefkowitz wrote: > > I'd love to fix this > > -glyph > > Is there a ticket? Maybe there should be... Kevin Horn ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mail

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Glyph Lefkowitz
On Nov 2, 2011, at 9:10 AM, Itamar Turner-Trauring wrote: > On Wed, 2011-11-02 at 13:01 +, exar...@twistedmatrix.com wrote: > >> This isn't a great idea, since Twisted doesn't support being installed >> as a zipfile (which is what I guess you meant, since a .egg directory >> wouldn't be an

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Antoine Pitrou
On Wed, 02 Nov 2011 10:34:27 +0100 Marcel Gädigk wrote: > i using the Perspective Broker and i have problems with the speed of > importing the modules. > It takes 15 - 17 seconds for importing the Reactor and the > PBServerFactory (or other pb imports). > If i import the reactor or the pb import

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Marcel Gädigk
I deleted all *.pyc files from the twisted Folder. After the *.pyc generation python imports pb and reactor in around 5 seconds. Thx for your help. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailma

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Itamar Turner-Trauring
On Wed, 2011-11-02 at 13:01 +, exar...@twistedmatrix.com wrote: > This isn't a great idea, since Twisted doesn't support being installed > as a zipfile (which is what I guess you meant, since a .egg directory > wouldn't be any different from the standard installation in terms of > import pe

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread exarkun
On 12:36 pm, ita...@itamarst.org wrote: > >2. Maybe try a packaging Twisted in an .egg file. This isn't a great idea, since Twisted doesn't support being installed as a zipfile (which is what I guess you meant, since a .egg directory wouldn't be any different from the standard installation in te

Re: [Twisted-Python] Slow PB imports

2011-11-02 Thread Itamar Turner-Trauring
On Wed, 2011-11-02 at 10:34 +0100, Marcel Gädigk wrote: > Hi, > > i using the Perspective Broker and i have problems with the speed of > importing the modules. > It takes 15 - 17 seconds for importing the Reactor and the > PBServerFactory (or other pb imports). > If i import the reactor or the p