#10295: Upgrading pexpect
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:  was
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  interfaces         |   Resolution:
       Keywords:  pexpect upgrade    |    Merged in:
        Authors:  François Bissey,   |    Reviewers:  Jeroen Demeyer
  Bill Page, Jeroen Demeyer          |  Work issues:
Report Upstream:  Reported           |       Commit:
  upstream. No feedback yet.         |  411c29346c9234aec8c920eae86c18f5209352a8
         Branch:                     |     Stopgaps:
  u/jdemeyer/pexpect3.3              |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 The same now with `%time` shows that the time increase is mainly in `user`
 time, so it's really the `pexpect` code which is causing the slowdown:

 pexpect 2.0:
 {{{
 sage: %time _ = str(gp("2^2^22"))
 CPU times: user 184 ms, sys: 4 ms, total: 188 ms
 Wall time: 384 ms
 }}}

 pexpect 4.0.1:
 {{{
 sage: %time _ = str(gp("2^2^22"))
 CPU times: user 203 ms, sys: 7 ms, total: 210 ms
 Wall time: 405 ms
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/10295#comment:128>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to