bpo-35884: Add variable access benchmarking script (GH-11725)

This commit is contained in:
Raymond Hettinger 2019-02-02 22:54:56 -08:00 • committed by GitHub
parent 2c2ba05a6b
commit f75d59e1a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 282 additions and 0 deletions

View file

@ -551,3 +551,11 @@ CPython bytecode changes
* Added new opcode :opcode:`END_ASYNC_FOR` for handling exceptions raised
when awaiting a next item in an :keyword:`async for` loop.
(Contributed by Serhiy Storchaka in :issue:`33041`.)
Demos and Tools
---------------
* Added a benchmark script for timing various ways to access variables:
``Tools/scripts/var_access_benchmark.py``.
(Contributed by Raymond Hettinger in :issue:`35884`.)