May you use fpdf2 because its faster
alisufyanbaig-dev opened this issue · 3 comments
alisufyanbaig-dev commented
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.
alhman commented
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 commented
we are now using fpdf2 internally for pdf generation
alisufyanbaig-dev commented
Thank you so much you guys are awesome