Commit Graph

36 Commits

Author SHA1 Message Date
Serhiy Storchaka
e0ed2d75c8 Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Ezio Melotti
6d0f0f299b #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:31:30 +03:00
Terry Jan Reedy
6bf9b85859 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:09:58 -04:00
Jesus Cea
f93bb262eb pybench prep_times calculation error (closes #11895) 2011-04-25 03:20:54 +02:00
Ezio Melotti
24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
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