[pypy-dev] How to profile in Pypy?

Armin Rigo arigo at tunes.org
Mon Nov 10 10:23:19 CET 2014


Hi Robert,

On 9 November 2014 23:04, Robert Grosse <n210241048576 at gmail.com> wrote:
> Is there any easy way to profile code under Pypy? When I try to run using
> the usual pypy -m cProfile foo.py, I get nonsensical results, like negative
> time or billions of seconds.

That's a bug.  Can you open a bug report detailing on which platform
you are, what number of cores you have, and if you are running inside
a virtual machine or on real hardware?  (There might be a bug report
already about Windows.)


Armin


More information about the pypy-dev mailing list