[reportlab-users] is Platypus just slow

Christoph Zwerschke zwerschke at zuv.uni-heidelberg.de
Tue Feb 7 08:01:24 EST 2006


Robin Becker wrote:
> David S. wrote:
>> I have the class shown below, but it takes hours to run over an even 
>> moderately
>> sited report (~5000 records) with toPDF().  Am I doing something 
>> obviously wrong?
>>
> I can't see anything obviously slow; we have documents with thousands of 
> paragrpahs in and they don't take hours (or even minutes to generate). 
> However, we do store everything in memory and if that causes thrashing 
> then things will slow down a lot.

You are talking about paragraphs, but maybe David is printing a table 
with 5000 rows, which can indeed be awfully slow. However, there may be 
a simple solution to that problem: Use LongTable instead of Table.

-- Christoph


More information about the reportlab-users mailing list