Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf generation slow #133

Closed
patsonpro opened this issue Aug 28, 2016 · 4 comments
Closed

Pdf generation slow #133

patsonpro opened this issue Aug 28, 2016 · 4 comments

Comments

@patsonpro
Copy link

I generate a PDF using a large amount of data from mysql database. The problem is that html2pdf takes an eternity to generate the pdf file. How can the process be accelerated?

@BillTheGoat
Copy link

Use setModeDebug as per the wiki to pinpoint slow parts of generation, then try to fix that section of your code. Hopefully your sql is optimized for speed!

@spipu
Copy link
Owner

spipu commented May 18, 2017

split tables in tables with less that 100 rows

@spipu spipu closed this as completed May 18, 2017
@Chrono-Caisse
Copy link

I have the same probleme with a table of 400 rows. Even if i split in 5 table, it take to many times to generate

@legolabs
Copy link

legolabs commented Aug 4, 2020

Same problem here, slow table generation even with a split of 50 rows each. Anyone found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants