On 30 September 2011 13:39, John Anderson wrote:
> In cpython I deploy using gevent or gunicorn for high performance/low memory
> usage with the ability to be non-blocking for realtime communication using
> socket.io.
> If I want to move to using PyPy... what are my options for this type of
> setu
Here's a further modified version. In this case, when using the pool for
the first time, it uses an n of 10, instead of 100 million. Even with such
a low precision, the first execution takes 1.3 seconds. It seems some
significant warm up time is needed the first time a multiprocessing.Pool
objec
In cpython I deploy using gevent or gunicorn for high performance/low memory
usage with the ability to be non-blocking for realtime communication using
socket.io.
If I want to move to using PyPy... what are my options for this type of
setup? Is there a non-blocking webserver in python that works
I think the slowdown you're seeing is due to the time it takes to create new
processes. This seems to be quite a bit slower in PyPy than in CPython.
However, once the process pool is created and has been used once, the
execution time vs. process count behaves as expected.
I attached a modified ve
Hi
David Beazley noticed that PyPy's GIL isn't very good compared to
CPython's :
https://twitter.com/#!/dabeaz/status/118889721358327808
https://twitter.com/#!/dabeaz/status/11789136523264
https://twitter.com/#!/dabeaz/status/118864260175634433
IMO it's the same issue
Cheers
Romain
On T
He says, currently, PyPy's threading does not scale properly. More below.
Maybe we
want to use his benchmark?
Laura
--- Forwarded Message
Return-Path: rus...@russel.org.uk
Delivery-Date: Thu Sep 29 13:53:50 2011
Subject: PyPy and multiprocessing
From: Russel Winder
To: Laura Creighton
On Thu, Sep 29, 2011 at 5:51 AM, Armin Rigo wrote:
> Hi Maciek,
>
> On Thu, Sep 29, 2011 at 10:33, Carl Friedrich Bolz wrote:
>>> +class Entry(ExtRegistryEntry):
>>> + _about_ = is_constant
>>> +
>>> + def compute_result_annotation(self, s_arg):
>>> + from pypy.annotation import mode
Hi Maciek,
On Thu, Sep 29, 2011 at 10:33, Carl Friedrich Bolz wrote:
>> +class Entry(ExtRegistryEntry):
>> + _about_ = is_constant
>> +
>> + def compute_result_annotation(self, s_arg):
>> + from pypy.annotation import model
>> + r = model.SomeBool()
>> + r.const = s_arg
Hi Maciek,
The objspace part of this merge really needs tests! You should write
tests that the .interplevel_cls attribute is set, and that calling
isinstance_w actually goes through the fast path.
Cheers,
Carl Friedrich
On 09/29/2011 04:40 AM, fijal wrote:
Author: Maciej Fijalkowski
Branch
Hi Maciek,
The objspace part of this test really needs tests! You should write
tests that the .interplevel_cls attribute is set, and that calling
isinstance_w actually goes through the fast path.
Cheers,
Carl Friedrich
On 09/29/2011 04:40 AM, fijal wrote:
Author: Maciej Fijalkowski
Branch:
10 matches
Mail list logo