Message310811
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 |
|
Date |
User |
Action |
Args |
2018-01-26 22:24:08 | Elvis.Pranskevichus | set | recipients:
+ Elvis.Pranskevichus, gvanrossum, mark.dickinson, ned.deily, methane, skrah, yselivanov |
2018-01-26 22:24:08 | Elvis.Pranskevichus | set | messageid: <1517005448.12.0.467229070634.issue32630@psf.upfronthosting.co.za> |
2018-01-26 22:24:08 | Elvis.Pranskevichus | link | issue32630 messages |
2018-01-26 22:24:08 | Elvis.Pranskevichus | create | |
|