#4671: [with patch; needs review] sage-3.2.1 startup time: do not import twisted
on startup
----------------------+-----------------------------------------------------
Reporter: was | Owner: boothby
Type: defect | Status: new
Priority: critical | Milestone: sage-3.4
Component: notebook | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mhansen):
* summary: [with patch; needs work] sage-3.2.1 startup time: do not
import twisted on startup => [with patch; needs
review] sage-3.2.1 startup time: do not import
twisted on startup
Comment:
I've put up a new patch which imports twisted.persisted.styles, but still
make startup time way faster.
{{{
<mhansen> No
<mhansen> I still have no idea why it's happening.
<mhansen> And I found it. [08:40]
<mhansen> Twisted has some code in twisted.persistant.styles that allows
you
to pickle things that aren't picklable normally. [08:42]
<mhansen> Importing just that takes .110s on my machine while doing import
twist takes 0.675s. [08:48]
<mhansen> Doing so causes wstein|afk's doctest to fail. [08:49]
<wstein|afk> mhansen -- importing twisted.persistant.styles and changing
my
doctest is a good solution. [09:02]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4671#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---