#13991: Mitigate speed regressions in symmetric function related code due to 
#12313
---------------------------------+------------------------------------------
       Reporter:  nbruin         |         Owner:  sage-combinat
           Type:  enhancement    |        Status:  new          
       Priority:  major          |     Milestone:  sage-5.8     
      Component:  combinatorics  |    Resolution:               
       Keywords:                 |   Work issues:               
Report Upstream:  N/A            |     Reviewers:               
        Authors:                 |     Merged in:               
   Dependencies:  #13605         |      Stopgaps:               
---------------------------------+------------------------------------------

Comment (by leif):

 Replying to [comment:32 nbruin]:
 > Replying to [comment:31 leif]:
 > > Haven't tried to yet.  Just noticed the slowdown because testing the
 file in ptestlong timed out.  And rerunning the test shows "excessive"
 memory usage, at least compared to Sage 5.7.beta4.
 >
 > Yes, that is as expected. The problem was diagnosed that continued
 duplication of parents rather than reuse, so that's both slow and memory
 intensive. Note that #13605 has positive review now. Merging that ticket
 should resolve the regression completely.

 Provided the patch from #13605 applies cleanly (to Sage 5.8.beta2), I'll
 retry with that.

 Verbosely running the tests twice for each installation (with a warm
 filesystem cache) I get even worse timings (first run / second run):

 Sage 5.7.beta4:  148.6 s / 145.9 s

 Sage 5.8.beta2:  1738.3 s / 1702.1 s

 (Wall time.  "Constant" sysload during all tests.)

 Let me know in case you still need details;  I've used a patched
 `ncadoctest.py` which for each line shows the wall time executing it took.
 (Haven't "post-processed" the logs yet.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13991#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to