[pypy-dev] Program slower on Pypy 7.3.3 (3.7.9) than CPython 3.9.

Dan Stromberg drsalists at gmail.com
Tue Mar 16 00:20:14 EDT 2021


I put a small SSCCE for this at
https://stromberg.dnsalias.org/svn/regex-fodder/trunk

It's almost 10x slower, not quite as much as music-pipeline.

On Mon, Mar 15, 2021 at 3:17 PM Dan Stromberg <strombrg at gmail.com> wrote:

>
> And it's opensource, though many of the inputs are licensed.
>
> The code is at https://stromberg.dnsalias.org/~strombrg/music-pipeline/ (
> https://stromberg.dnsalias.org/svn/music-pipeline/trunk/)
>
> It appears to be more than 10x slower.
>
> I haven't profiled it yet.  I believe it's probably the "Blocklisting
> files..." part that's slow.  That part is O(n*m), and seems to take
> forever.  It's heavy on regular expressions.
>
> Are regular expressions expected to be slow on Pypy3?
>
> Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-dev/attachments/20210315/4adccb8f/attachment.html>


More information about the pypy-dev mailing list