2016-11-05 15:56 GMT+01:00 Nick Coghlan email@example.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 ;-)