Hi all,
I would like to put a timing into a doc string -- of course the
timings will depend on the run, so the figures can not be relevant to
the doc test, but it shall indicate to the user that it might be
interesting to do such timing.
So, in the doc string I wrote
sage: timeit('cX = R.liftChainMap(c1)')
... loops, best of ...: ... per loop
Doc testing resulted in
sage: timeit('cX = R.liftChainMap(c1)')
loops, best of Ellipsis: Ellipsis per loop
Expected nothing
Got:
625 loops, best of 3: 115 µs per loop
So, apparently I got the Ellipsis wrong, because it *should* expect
something, which is Ellipsis loops, best of Ellipsis: Ellipsis per
loop
What shall I do?
Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---