Commit Graph

31 Commits

Author SHA1 Message Date
Benjamin Peterson 9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Kristján Valur Jónsson 49b881410b http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
2009-10-09 14:32:19 +00:00
Antoine Pitrou e555f581dc Issue #4677: add two list comprehension tests to pybench. 2008-12-27 20:34:52 +00:00
Antoine Pitrou 0c37ae0464 add a pybench test for complex function calls (part of #1819) 2008-07-25 22:02:07 +00:00
Gregory P. Smith fa1814e1b6 explicitly flush after the ... since there wasn't a newline 2008-04-21 17:46:40 +00:00
Thomas Heller b9dd8db8bf Fix typo. 2008-04-21 13:46:55 +00:00
Jeffrey Yasskin 3accbb0729 Well that was dumb. platform.python_implementation returns a function, not a
string.
2008-03-08 21:35:15 +00:00
Jeffrey Yasskin 019e9d730a Fix pybench for pythons < 2.6, tested back to 2.3. 2008-03-08 20:08:21 +00:00
Jeffrey Yasskin 0df0f6d1b2 Add tests for with and finally performance to pybench. 2008-03-08 18:26:54 +00:00
Christian Heimes c5f05e45cf Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
Georg Brandl fd61107e7a Typo. 2007-03-09 12:58:41 +00:00
Marc-André Lemburg b1a8ef6297 Jython doesn't have sys.setcheckinterval() - ignore it in that case. 2007-01-13 23:15:33 +00:00
Marc-André Lemburg a50e6233f5 Add Python implementation to the machine details.
Pretty-print the Python version used for running PyBench.

Let the user know when calibration has finished.

[ 1563844 ] pybench support for IronPython:

Simplify Unicode version detection.

Make garbage collection and check interval settings optional if
the Python implementation doesn't support thess (e.g. IronPython).
2007-01-13 22:59:36 +00:00
Marc-André Lemburg f6fc454084 Fix a buglet in the error reporting (SF bug report #1546372).
This should probably go into Python 2.5 or 2.5.1 as well.
2006-08-29 10:34:12 +00:00
Marc-André Lemburg 3b3f1184bc Whitespace normalization. 2006-06-13 19:20:07 +00:00
Marc-André Lemburg 7d9743dd6a Updated to pybench 2.0.
See svn.python.org/external/pybench-2.0 for the original import of that
version.

Note that platform.py was not copied over from pybench-2.0 since
it is already part of Python 2.5.
2006-06-13 18:56:56 +00:00
Marc-André Lemburg 573bd19e1f Revert wrong svn copy. 2006-06-13 17:07:14 +00:00
Marc-André Lemburg 08de1ef8df Update pybench to version 2.0. 2006-06-13 17:04:26 +00:00
Tim Peters 27c70598a8 Whitespace normalization. 2006-05-30 02:26:46 +00:00
Marc-André Lemburg e9eeab5c05 Initial version of systimes - a module to provide platform dependent
performance measurements.

The module is currently just a proof-of-concept implementation, but
will integrated into pybench once it is stable enough.

License: pybench license.
Author: Marc-Andre Lemburg.
2006-05-28 17:46:58 +00:00
Steve Holden 8040359724 Reinstate new-style object tests. 2006-05-27 00:51:52 +00:00
Steve Holden 57ad060722 Blasted typos ... 2006-05-26 22:39:27 +00:00
Steve Holden a4ebed8071 Update help text and documentaition. 2006-05-26 22:33:20 +00:00
Tim Peters 19bfd4209d Whitespace normalization. 2006-05-26 21:51:13 +00:00
Steve Holden d05e546850 Revert tests to MAL's original round sizes to retiain comparability
from long ago and far away. Stop calling this pybench 1.4 because it
isn't. Remove the empty test, which was a bad idea.
2006-05-26 18:26:21 +00:00
Steve Holden f845877767 Use minimum calibration time rather than avergae to avoid
the illusion of negative run times. Halt with an error if
run times go below 10 ms, indicating that results will be
unreliable.
2006-05-26 17:41:32 +00:00
Tim Peters 877ab9bc23 Add missing svn:eol-style property to text files. 2006-05-26 16:53:04 +00:00
Tim Peters 584c8d4588 Whitespace normalization. 2006-05-26 16:52:04 +00:00
Steve Holden 431a76314d Add -t option to allow easy test selection.
Action verbose option correctly.
Tweak operation counts. Add empty and new instances tests.
Enable comparisons across different warp factors. Change version.
2006-05-26 16:27:59 +00:00
Tim Peters f9cc594096 Whitespace normalization. 2006-04-21 16:34:54 +00:00
Marc-André Lemburg c311f641e4 Adding pybench 1.3 to the Tools/ directory. 2006-04-19 15:27:33 +00:00