#11716: remove twisted.persisted.styles import
---------------------------+------------------------------------------------
   Reporter:  saraedum     |          Owner:  jason                     
       Type:  enhancement  |         Status:  positive_review           
   Priority:  critical     |      Milestone:  sage-4.7.2                
  Component:  performance  |       Keywords:  sd32 start-up time startup
Work_issues:               |       Upstream:  N/A                       
   Reviewer:  Mike Hansen  |         Author:  Julian Rueth              
     Merged:               |   Dependencies:                            
---------------------------+------------------------------------------------
Changes (by leif):

  * keywords:  sd32 => sd32 start-up time startup


Old description:

> The import of ''twisted.persisted.styles'' takes a significant amount of
> time on sage startup:
> {{{
> $ time ./sage -startuptime|grep twisted.persisted.styles:
>  twisted.persisted.styles: 0.093 (sage.all)
>
> real    0m1.422s
> }}}
>
> Most functionality from that module seems not to be used in sage. The
> attached patch removes everything but the needed functionality:
> {{{
> $ time ./sage -startuptime|grep twisted.persisted.styles:
>
> real    0m1.280s
> }}}

New description:

 The import of ''twisted.persisted.styles'' takes a significant amount of
 time on sage startup:
 {{{
 $ time ./sage -startuptime|grep twisted.persisted.styles:
  twisted.persisted.styles: 0.093 (sage.all)

 real    0m1.422s
 }}}

 Most functionality from that module seems not to be used in sage. The
 attached patch removes everything but the needed functionality:
 {{{
 $ time ./sage -startuptime|grep twisted.persisted.styles:

 real    0m1.280s
 }}}

 ----

 Apply [attachment:trac_11716_twisted_persisted_styles.patch] to the Sage
 library.

--

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