Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 9612
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: PPI

People
Owner: adamk [...] cpan.org
Requestors: cpan [...] ali.as
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.840
Fixed in: (no value)



Subject: PPI is incredibly slow with very large files
Download (untitled) / with headers
text/plain 563b
During an early Tinderbox 5000 run, we went into what was effectively an infinite loop for the file authors/id/A/AR/AREIBENS/PDF-API2-0.3r77.tar.gz/PDF-API2-0.3r77/lib/PDF/API2/CoreFont/arial.pm This is an insane 2.7meg 38,000 line file, and PPI sits there parsing it practically indefinitely. This is probably due to some badly scaling algorithms somewhere in the parsing code, probably O(n^2) or worse. But I'm not exactly where. For now I've locked anything bigger than 500k out of the tinderbox, but we need to chase down where the problem algorithm is.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.