[ANN] Benchmarker 1.1.0 released - a samll benchmark utility
Terry Reedy
tjreedy at udel.edu
Sat Jun 26 18:15:00 EDT 2010
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
More information about the Python-list
mailing list