
Hi,
Congrats on the 1.4 release!
From the benchmark results on your site, the performance looks great. I was wondering if you have any data showing relative memory usage for the various benchmark.
I'm particularly interested in the memory usage of PyPy-JIT vs. CPython when running Django. In general would PyPy-JIT increase or decrease memory usage?
Thanks Andy

Hi,
On Sat, Nov 27, 2010 at 12:03 AM, Andy angelflow@yahoo.com wrote:
I'm particularly interested in the memory usage of PyPy-JIT vs. CPython when running Django. In general would PyPy-JIT increase or decrease memory usage?
It depends on the kind of application. PyPy with a JIT may get to 1.5x or 2x more than CPython, but it may also be smaller than CPython if your program contains mainly instances and you didn't feel like carefully putting __slots__ everywhere.
A bientôt,
Armin.

Can you explain a bit about what did you mean by "program contains mainly instances"? And what is __slots__?
Thanks
--- On Mon, 11/29/10, Armin Rigo arigo@tunes.org wrote:
From: Armin Rigo arigo@tunes.org Subject: Re: [pypy-dev] PyPy-JIT memory usage compared to CPython? To: "Andy" angelflow@yahoo.com Cc: pypy-dev@codespeak.net Date: Monday, November 29, 2010, 5:32 AM Hi,
On Sat, Nov 27, 2010 at 12:03 AM, Andy angelflow@yahoo.com wrote:
I'm particularly interested in the memory usage of
PyPy-JIT vs. CPython when running Django. In general would PyPy-JIT increase or decrease memory usage?
It depends on the kind of application. PyPy with a JIT may get to 1.5x or 2x more than CPython, but it may also be smaller than CPython if your program contains mainly instances and you didn't feel like carefully putting __slots__ everywhere.
A bientôt,
Armin.

Hi,
On Tue, Nov 30, 2010 at 10:58 AM, Andy angelflow@yahoo.com wrote:
Can you explain a bit about what did you mean by "program contains mainly instances"? And what is __slots__?
I meant basically: try with your particular use case, because it is hard to give one answer that fits all cases.
Armin
participants (2)
-
Andy
-
Armin Rigo