[pypy-dev] new benchmark for pypy

Armin Rigo arigo at tunes.org
Fri Jun 15 17:03:53 CEST 2012


Hi Grzegorz,

On Fri, Jun 15, 2012 at 1:22 PM, Grzegorz Rudnicki
<grzegorz-rudnicki1 at wp.pl> wrote:
> I tested this code on Linux and CPython use 7.8 MB RAM, but Pypy use 14.5 MB
> RAM.

That's expected: PyPy uses more memory than CPython in general, with
the exception of programs using a lot of instances --- instances are
more compact in PyPy than in CPython.  Moreover, there is a large
"base size" of some MBs in PyPy.  You need programs consuming a lot
more than 7.8MB to see a possible memory benefit in PyPy, just like
you need programs running for much more than 0.1 seconds to see speed
benefits.


A bientôt,

Armin.


More information about the pypy-dev mailing list