#8254: sage takes way too long to startup
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:              
       Type:  defect  |      Status:  needs_review
   Priority:  major   |   Milestone:  sage-4.6.1  
  Component:  misc    |    Keywords:              
     Author:          |    Upstream:  N/A         
   Reviewer:          |      Merged:              
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by lftabera):

 The patch applies to 4.6 after rebasing #8456

 In my computer, from a first running (disc access is necessary), Sage
 passes from 12.059 seconds to 11.290 So, a save less than 10%

 If I further lazy import doing a
 lazy import for every * imports and running
 sage.misc.lazy_import.save_cache_file() the time drops to 10.259

 If I run Sage with the initialitation files in RAM (disc acces is not
 necessary) the time with lazy_importing all * drops from 1.123 to 0.907

 So, still, with lazy imports, disc access is too high.


 with Robert patch I get the following doctest failures:
 sage-devel -t  -long -force_lib
 devel/sage/doc/en/bordeaux_2008/generators_for_rings.rst
 sage-devel -t  -long -force_lib
 devel/sage/sage/structure/coerce_actions.pyx
 sage-devel -t  -long -force_lib devel/sage/sage/modular/cusps.py
 sage-devel -t  -long -force_lib devel/sage/sage/modular/hecke/module.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/hecke/hecke_operator.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/modsym/heilbronn.pyx
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/arithgroup_element.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/congroup_gammaH.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/congroup_sl2z.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/congroup_gamma0.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/congroup_gamma1.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/arithgroup/congroup_generic.py
 sage-devel -t  -long -force_lib devel/sage/sage/modular/modform/space.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/modform/find_generators.py
 sage-devel -t  -long -force_lib
 devel/sage/sage/modular/modform/cuspidal_submodule.py

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8254#comment:10>
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