[Speed] Latest enhancements of perf 0.8.1 and performance 0.3.1

Victor Stinner victor.stinner at gmail.com
Sat Nov 5 11:34:47 EDT 2016


2016-11-05 15:56 GMT+01:00 Nick Coghlan <ncoghlan at gmail.com>:
> Since the use case for --duplicate is to reduce the relative overhead
> of the outer loop when testing a micro-optimisation within a *given*
> interpreter, perhaps the error should be for combining --duplicate and
> --compare-to at all? And then it would just be up to developers of a
> *particular* implementation to know if "--duplicate" is relevant to
> them.

Hum, I think that using "timeit --compare-to=python --duplicate=1000"
makes sense when you compare two versions of CPython.

If I understood correctly Armin, the usage of --duplicate on a Python
using a JIT must fail with an error.

It's in my (long) TODO list ;-)

Victor


More information about the Speed mailing list