[pypy-dev] Issues with Networkx subgraph function - Slower than cPython

Maciej Fijalkowski fijall at gmail.com
Wed Aug 15 21:44:42 CEST 2012

On Wed, Aug 15, 2012 at 9:22 PM, Andrew Elliott
<andrew.elliott at spc.ox.ac.uk> wrote:
> Hello
> I have recently tried to move some code across to pypy from cPython, and it takes around 1.5x longer than the cPython implementation (~12 seconds against 19 seconds). Most of the time (90%) is spent in the multiple calls to the subgraph function of networkx. Is there anything that I can do to make pypy faster? I am running the Mac OSX 64 bit binary inside a virtualenv.
> Thanks,
> Andrew Elliott

You can provide us with more information.

The best is a standalone example that we can run as small as possible.
The next best is a way to set it up and reproduce. Without that we're
seriously clueless.


More information about the pypy-dev mailing list