Performance 0.3 released with 10 new benchmarks
Hi,
I just released performance 0.3, the Python benchmark suite, with 10 new benchmarks from the PyPy benchmark suite: https://github.com/python/performance
Version 0.3.0 changelog.
New benchmarks:
- Add
crypto_pyaes: Benchmark a pure-Python implementation of the AES block-cipher in CTR mode using the pyaes module (version 1.6.0). Addpyaesdependency. - Add
sympy: Benchmark on SymPy. Addscipydependency. - Add
scimarkbenchmark - Add
deltablue: DeltaBlue benchmark - Add
dulwich_log: Iterate on commits of the asyncio Git repository using the Dulwich module. Adddulwich(andmpmath) dependencies. - Add
pyflate: Pyflate benchmark, tar/bzip2 decompressor in pure Python - Add
sqlite_synthbenchmark: Benchmark Python aggregate for SQLite - Add
genshibenchmark: Render template to XML or plain text using the Genshi module. AddGenshidependency. - Add
sqlalchemy_declarativeandsqlalchemy_imperativebenchmarks: SQLAlchemy Declarative and Imperative benchmarks using SQLite. AddSQLAlchemydependency.
Enhancements:
comparecommand now fails if the performance versions are differentnbody: add--referenceand--iterationscommand line options.chaos: add--width,--height,--thickness,--filenameand--rng-seedcommand line optionsdjango_template: add--table-sizecommand line optionjson_dumps: add--casescommand line optionpidigits: add--digitscommand line optionraytrace: add--width,--heightand--filenamecommand line options- Port
html5libbenchmark to Python 3 - Enable
pickle_pure_pythonandunpickle_pure_pythonon Python 3 (code was already compatible with Python 3) - Creating the virtual environment doesn't inherit environment variables
(especially
PYTHONPATH) by default anymore:--inherit-environcommand line option must now be used explicitly.
Bugfixes:
chaosbenchmark now also reset therandommodule at each sample to get more reproductible benchmark results- Logging benchmarks now truncate the in-memory stream before each benchmark run
Rename benchmarks:
Rename benchmarks to get a consistent name between the command line and benchmark name in the JSON file.
Rename pickle benchmarks:
slowpicklebecomespickle_pure_pythonslowunpicklebecomesunpickle_pure_pythonfastpicklebecomespicklefastunpicklebecomesunpickle
Rename ElementTree benchmarks: replace
etree_prefix withxml_etree_.Rename
hexiom2tohexiom_level25and explicitly pass--level=25parameterRename
json_loadtojson_loadsRename
json_dump_v2tojson_dumps(and remove the deprecatedjson_dumpbenchmark)Rename
normal_startuptopython_startup, andstartup_nositetopython_startup_no_siteRename
threaded_counttothreading_threaded_count, renameiterative_counttothreading_iterative_countRename logging benchmarks:
silent_loggingtologging_silentsimple_loggingtologging_simpleformatted_loggingtologging_format
Minor changes:
- Update dependencies
- Remove broken
--argscommand line option.
Victor
participants (1)
-
Victor Stinner