summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/tests/bench.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19936: Remove executable bits from C source files and several forgottenSerhiy Storchaka2014-01-161-0/+0
| | | | test files.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | 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. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #19936: Disable shebang lines in order to prevent using a randomStefan Krah2014-01-161-2/+0
| | | | system python.
* Make it clear that the pi function is modified for benchmarking purposes.Stefan Krah2012-09-301-2/+7
|
* Restore the benchmark order to avoid waiting for decimal.py if just theStefan Krah2012-09-251-3/+4
| | | | prec=9 test is used.
* Fix whitespace.Brett Cannon2012-09-251-1/+1
|
* Fix whitespace.Brett Cannon2012-09-251-18/+18
|
* Make the decimal bench file run under Python 2.7.Brett Cannon2012-09-251-18/+28
|
* Make the benchmark more fair for _decimal/decimal.py by setting context.precStefan Krah2012-06-241-6/+6
| | | | only once (float obviously doesn't set any context at all).
* Fix Overflow exception in the bignum factorial benchmark that is due toStefan Krah2012-04-011-1/+4
| | | | the recent change of the default value for context.Emax.
* Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-0/+116
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.