[pypy-issue] [issue1477] datetime issues in CPython vs PyPy

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue May 7 15:37:22 CEST 2013

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

A profiler is designed to show where execution time is spent within one run.
And with PyPy, the line-by-line tracing is likely to kill any optimization made by the JIT 

To compare execution of different systems, don't use cProfile,
just measure the time it takes to execute your function (in a loop, probably).

For my part, I use the Python timeit module, or just the unix "time" command.

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list