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

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue May 7 08:36:02 CEST 2013

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

datetime is a C module in CPython, but a pure-Python module in PyPy.
This makes a huge difference for CProfile, which traces Python code and not C functions...

timeit yields very different results: pypy is twice faster than CPython2.7!

python -m timeit -s "import datetime; startTime=datetime.datetime.now()" "datetime.datetime.now() < (startTime + 

nosy: +amaury
status: unread -> chatting

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

More information about the pypy-issue mailing list