Victor Stinner
Victor Stinner
On micro-benchmarks (values less than 100 ns), each process has different performance depending on many things: environment variables, current working directory, adress space layout (which is randomized on Linux: ASLR),...
Ah, also, I don't want to be the gatekeeper of pyperf, I want it to be useful to most people :-) That's why I added co-maintainers to the project: @corona10...
> I'd like to propose a new set of numbers, such as 3 worker processes for 4s each. On CPython with CPU isolation, in my experience, 3 values per process...
Very important paper in this field: https://arxiv.org/abs/1602.00602 "Virtual Machine Warmup Blows Hot and Cold" (2017).
Do you really care of a difference smaller than 1%? Could it be an option? I would prefer to display least digits as possible for the most common use cases.
If possible, I would prefer to keep 2 digits after the dot ("1.02x faster") for benchmarks. Otherwise, people will fight to death for a digit which is not significant and...
Do you suggest to add one more digit in the output? Do you want to propose a PR for that?
> Run your pyperf script with --track-energy and --inherit-environ LIBREADEN,ENFILE. ``--track-energy`` should imply ``--inherit-environ LIBREADEN,ENFILE``.
What is LIBREADEN? Where does it come from? Please write documentation.
The documentation source lives in the doc/ subdirectory and is rendered at: https://pyperf.readthedocs.io/