#3476: [with patch, positive review] save timeit information with sage -t
-timeit
------------------------------------------------------------------------------+
Reporter: ncalexan |
Owner: failure
Type: enhancement |
Status: new
Priority: major |
Milestone: sage-3.2
Component: doctest |
Resolution:
Keywords: testing doctest timing timeit profile regression, editor_mhansen |
------------------------------------------------------------------------------+
Comment (by mabshoff):
Hi Mike,
there is one tiny easy to fix doctest issue left:
{{{
sage -t -long devel/sage/sage/misc/sage_timeit.py
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.rc0/devel/sage/sage/misc/sage_timeit.py", line 48:
sage: sage_timeit("a = 2\nb=131\nfactor(a^b-1)", globals(), number=10)
Expected:
'10 loops, best of 3: ... per loop'
Got:
10 loops, best of 3: 18.4 ms per loop
**********************************************************************
}}}
I will fix this via a followup patch.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3476#comment:14>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---