On 6/26/2010 1:09 PM, Makoto Kuwata wrote:
I released Benchmarker 1.1.0.
http://pypi.python.org/pypi/Benchmarker/

Benchmarker is a small utility to benchmark your code.


Example
=======

ex.py::

     def fib(n):
         return n<= 2 and 1 or fib(n-1) + fib(n-2)
     from benchmarker import Benchmarker
     bm = Benchmarker(30)  # or Benchmarker(width=30, out=sys.stderr,
header=True)
     ## Python 2.5 or later

Is that 2.5 to 2.7 or 2.5 to 3.1 and later?



--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to