This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Elvis.Pranskevichus
Recipients Elvis.Pranskevichus, gvanrossum, mark.dickinson, methane, ned.deily, skrah, yselivanov
Date 2018-01-26.22:24:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517005448.12.0.467229070634.issue32630@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, I ran bm_telco with pyperformance on a benchmark-tuned system and did not observe the slowdown.  Benchmarks were done on a release build (--enable-optimizations)

$ sudo (which python3) -m perf system tune

MASTER:

$ pyperformance run --python=envs/3.7-master-pgo-lto/prefix/bin/python3.7m --affinity=2,3 --rigorous --benchmarks=telco -o json/3.7-master.json
Python benchmark suite 0.6.1

[1/1] telco...
INFO:root:Running `/home/elvis/dev/python/performance/venv/cpython3.7-8cfe759dd297/bin/python -u /home/elvis/dev/python/performance/performance/benchmarks/bm_telco.py --rigorous --affinity=2,3 --output /tmp/tmpgszxc792`
.........................................
telco: Mean +- std dev: 9.17 ms +- 0.32 ms


MASTER + contextvars patch:

$ pyperformance run --python=envs/3.7-master-pgo+lto+decimal-contextvars/prefix/bin/python3.7m --affinity=2,3 --rigorous --benchmarks=telco -o json/3.7-contextvars.json
Python benchmark suite 0.6.1

[1/1] telco...
INFO:root:Running `/home/elvis/dev/python/performance/venv/cpython3.7-8a6fbdee5a5b/bin/python -u /home/elvis/dev/python/performance/performance/benchmarks/bm_telco.py --rigorous --affinity=2,3 --output /tmp/tmp8y4mivnp`
.........................................
telco: Mean +- std dev: 9.29 ms +- 0.19 ms


COMPARISON:

### telco ###
Mean +- std dev: 9.17 ms +- 0.32 ms -> 9.29 ms +- 0.19 ms: 1.01x slower
Not significant
History
Date User Action Args
2018-01-26 22:24:08Elvis.Pranskevichussetrecipients: + Elvis.Pranskevichus, gvanrossum, mark.dickinson, ned.deily, methane, skrah, yselivanov
2018-01-26 22:24:08Elvis.Pranskevichussetmessageid: <1517005448.12.0.467229070634.issue32630@psf.upfronthosting.co.za>
2018-01-26 22:24:08Elvis.Pranskevichuslinkissue32630 messages
2018-01-26 22:24:08Elvis.Pranskevichuscreate