[eGenix.com ANN] ANN: Python Benchmark Suite -- pybench 1.0
egenix-announcements@lists.egenix.com
egenix-announcements@lists.egenix.com
Mon, 26 Nov 2001 15:13:57 +0100
________________________________________________________________________
ANNOUNCING:
pybench -- The Python Benchmark Suite
Version 1.0.0
Extendable suite of of low-level benchmarks for measuring
the performance of the Python implementation
(interpreter, compiler or VM).
________________________________________________________________________
WHAT IS IT ?:
pybench is a collection of tests that provides a standardized way
to measure the performance of Python implementations. It takes a
very close look at different aspects of Python programs and let's
you decide which factors are more important to you than others,
rather than wrapping everything up in one number, like the other
performance tests do (e.g. pystone which is included in the Python
Standard Library).
pybench has been used in the past by several Python developers to
track down performance bottlenecks or to demonstrate the impact
of optimizations and new features in Python.
There's currently no documentation and no distutils support in
pybench; that'll go into one of the next releases. For now,
please read the source code. The command line interface for pybench
is the file pybench.py. Run this script with option '--help'
to get a listing of the possible options. Without options,
pybench will simply execute the benchmark and then print out
a report to stdout. Here's some sample output:
"""
Tests: per run per oper. overhead
----------------------------------------------------------------------
BuiltinFunctionCalls: 131.50 ms 1.03 us 0.50 ms
BuiltinMethodLookup: 195.85 ms 0.37 us 1.00 ms
CompareFloats: 126.00 ms 0.28 us 1.00 ms
CompareFloatsIntegers: 201.05 ms 0.45 us 0.50 ms
CompareIntegers: 192.05 ms 0.21 us 2.00 ms
CompareInternedStrings: 117.65 ms 0.24 us 3.50 ms
...
TryExcept: 289.75 ms 0.19 us 3.00 ms
TryRaiseExcept: 179.05 ms 11.94 us 1.00 ms
TupleSlicing: 159.75 ms 1.52 us 0.50 ms
UnicodeMappings: 171.85 ms 9.55 us 1.00 ms
UnicodePredicates: 152.05 ms 0.68 us 4.00 ms
UnicodeProperties: 203.00 ms 1.01 us 4.00 ms
UnicodeSlicing: 190.10 ms 1.09 us 2.00 ms
----------------------------------------------------------------------
Average round time: 10965.00 ms
"""
________________________________________________________________________
WHAT'S NEW ?
This release includes a few more tests and extends the range of
supported Python versions to 1.5.x - 2.2. It is also the first
publically announced new version of pybench in years.
________________________________________________________________________
WHERE CAN I GET IT ?
The download archive of the package can be found at:
http://www.lemburg.com/files/python/
________________________________________________________________________
WHAT DOES IT COST ?
pybench comes with a Python style license, which means that you can
use them in both commercial and non-commercial settings without
fee or charge. It comes with full source code.
________________________________________________________________________
WHERE CAN I GET SUPPORT ?
Commercial quality support for this package is available from
eGenix.com Software GmbH in form of support tickets. Please see
http://www.lemburg.com/files/python/eGenix-mx-Extensions.html#Support
for details about the eGenix support offerings.
________________________________________________________________________
REFERENCE:
<P><A HREF="http://www.lemburg.com/files/python/">pybench 1.0</A> -
Python Benchmark Suite. (26-Nov-2001)
________________________________________________________________________
Enjoy,
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/