#11730: do not load pkg_resources on startup
---------------------------+------------------------------------------------
   Reporter:  saraedum     |          Owner:  jason, mpatel, was
       Type:  enhancement  |         Status:  new               
   Priority:  minor        |      Milestone:  sage-4.7.2        
  Component:  notebook     |       Keywords:                    
Work_issues:               |       Upstream:  N/A               
   Reviewer:               |         Author:  Julian RĂ¼th       
     Merged:               |   Dependencies:                    
---------------------------+------------------------------------------------
 The attached patch removes ''pkg_resources'' from being loaded on sage
 startup:

 {{{
 $ ./sage --startuptime|grep pkg_resources
                   pkg_resources: 0.029
 }}}

 The patch improves the situation from
 {{{
 $ dumbbench -- ./sage --startuptime
 Ran 22 iterations (2 outliers).
 Rounded run time per iteration: 9.433e-01 +/- 7.2e-03 (0.8%)
 }}}

 to

 {{{
 $ dumbbench -- ./sage --startuptime
 Ran 23 iterations (3 outliers).
 Rounded run time per iteration: 8.903e-01 +/- 8.3e-03 (0.9%)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11730>
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