#9138: Categories for all rings
--------------------------+-------------------------------------------------
   Reporter:  jbandlow    |       Owner:  nthiery                            
       Type:  defect      |      Status:  needs_review                       
   Priority:  major       |   Milestone:  sage-4.7                           
  Component:  categories  |    Keywords:  introspection, categories for rings
     Author:  Simon King  |    Upstream:  N/A                                
   Reviewer:              |      Merged:                                     
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by SimonKing):

 It could actually be that I there is no regression in Monsky-Washnitzer at
 all.

 I just took the tests from
 sage/schemes/elliptic_curves/monsky_washnitzer.py and timed each test
 individually (using timeit). In all cases, the tests went ''faster'' with
 my patches - even though "sage -t" took 50% longer than without the
 patches.

 My next guess was that there is a problem with the startup time. Indeed,
 starting sage without the patches feels "snappier".

 Using "sage -startuptime", I found with the patches:
 {{{
 == Slowest (including children) ==
 1.623 sage.all (None)
 0.356 sage.schemes.all (sage.all)
 0.225 elliptic_curves.all (sage.schemes.all)
 0.222 ell_rational_field (elliptic_curves.all)
 0.216 sage.rings.all (sage.all)
 0.214 sage.misc.all (sage.all)
 0.173 sage.algebras.all (sage.all)
 0.153 ell_number_field (ell_rational_field)
 }}}

 Without patch:
 {{{
 == Slowest (including children) ==
 1.196 sage.all (None)
 0.312 sage.schemes.all (sage.all)
 0.190 twisted.persisted.styles (sage.all)
 0.176 elliptic_curves.all (sage.schemes.all)
 0.172 ell_rational_field (elliptic_curves.all)
 0.172 sage.misc.all (sage.all)
 0.151 ell_number_field (ell_rational_field)
 0.150 ell_field (ell_number_field)
 ...
 0.087 sage.rings.all (sage.all)
 ...
 0.035 sage.algebras.all (sage.all)
 }}}

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