Commit Graph

10 Commits

Author SHA1 Message Date
Georg Brandl 59ec315b04 #3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
2008-07-19 13:00:22 +00:00
Tim Peters 58eb11cf62 Whitespace normalization. 2004-01-18 20:29:55 +00:00
Alex Martelli b993b067d2 The script now takes an optional command-line argument to specify how many
loops to run (default remains 50,000 if no argument is specified).
2004-01-02 17:11:54 +00:00
Guido van Rossum 0855dd8938 Bump the LOOPS count. 50,000 iterations takes about 5 seconds on my
machine -- that feels just right.
2002-08-06 17:21:20 +00:00
Fred Drake 004d5e6880 Make reindent.py happy (convert everything to 4-space indents!). 2000-10-23 17:22:08 +00:00
Guido van Rossum c1189eb524 Separate out a function pystones(loops=LOOPS) which runs the benchmark
and returns a (benchtime, stones) tuple.  The main() function now
calls this and prints the report.  Fred Drake's code.
1997-11-06 15:45:05 +00:00
Guido van Rossum 5526e394a2 set LOOPS to 10000 1997-08-14 20:14:12 +00:00
Guido van Rossum 04f2b453bb Version 1.1. Fix memory leak and expensive comparison with None. 1997-01-18 02:20:37 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 189f8fb8f7 added "pystone" benchmark 1995-03-30 09:42:43 +00:00