Skip to content

Is FPDF2 faster than FPDF1?  #757

Closed
Closed
@simkessy

Description

I can't seem to find speed comparisons. I'm looking at some old code that is using fpdf==1.7.3 and we have a particularly large PDF generation that is taking over 6 hours. Our jobs are currently set to cancel after 6 hours so I haven't been able to successfully generate this PDF.

I'm wondering if upgrading to FPDF2 will help with performance. These PDFs have can have hundreds if not thousands of images so they become quite large. Are there any suggestions on how to deal with this?

I was considering using multiprocessing to create pages, is this a viable solution to speeding up or reducing the memory consumption?

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions