reportbro-lib icon indicating copy to clipboard operation
reportbro-lib copied to clipboard

May you use fpdf2 because its faster

Open alisufyanbaig-dev opened this issue 3 years ago • 1 comments

Hi, I am using reportbro for a long time, I came across a library fpdf2 it's way faster because generating around 5k pages takes 100 seconds on report bro on my i5 machine windows 10 py 3.9.

alisufyanbaig-dev avatar May 08 '22 15:05 alisufyanbaig-dev

You cannot compare fpdf with reportbro as the latter has a layout engine and therefore will always be slower. I doubt that fpdf2 is much faster than PyFPDF which is used internally (at least I have not seen why it should be).

Using fpdf2 also means dropping support for Python 2.x and 3.5. In the long run we will probably switch to fpdf2 because it is actively maintained and well documented.

alhman avatar May 09 '22 13:05 alhman

we are now using fpdf2 internally for pdf generation

alhman avatar Oct 11 '22 08:10 alhman

Thank you so much you guys are awesome

alisufyanbaig-dev avatar Oct 11 '22 10:10 alisufyanbaig-dev