#11043: Lazily import plot, numpy, etc.
------------------------+---------------------------------------------------
   Reporter:  robertwb  |       Owner:  jason       
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.7    
  Component:  misc      |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by robertwb):

  * status:  new => needs_review


Old description:

> For startup time.

New description:

 For startup time.

 Depends on #11040

--

Comment:

 Before

 {{{
 2.039 sage.all (None)
 0.410 sage.misc.all (sage.all)
 0.260 twisted.persisted.styles (sage.all)
 0.221 sage.rings.all (sage.all)
 0.188 sage.functions.all (sage.all)
 0.171 functional (sage.misc.all)
 0.164 piecewise (sage.functions.all)
 0.162 sage.calculus.all (piecewise)
 0.155 desolvers (sage.calculus.all)
 0.154 sage.plot.all (desolvers)
 0.151 zope.interface (twisted.persisted.styles)
 0.137 pkg_resources (zope.interface)
 0.132 interpreter (sage.misc.all)
 0.131 IPython.ipapi (interpreter)
 }}}

 After

 {{{
 1.745 sage.all (None)
 0.405 sage.misc.all (sage.all)
 0.263 twisted.persisted.styles (sage.all)
 0.180 sage.rings.all (sage.all)
 0.168 functional (sage.misc.all)
 0.154 zope.interface (twisted.persisted.styles)
 0.141 pkg_resources (zope.interface)
 0.134 sage.combinat.all (sage.all)
 0.128 interpreter (sage.misc.all)
 0.127 IPython.ipapi (interpreter)
 }}}

 That's another quarter-second (12.5%) savings.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11043#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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.

Reply via email to