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

Html2Pdf is really slow #565

Open
Frenezy90 opened this issue Apr 24, 2020 · 3 comments
Open

Html2Pdf is really slow #565

Frenezy90 opened this issue Apr 24, 2020 · 3 comments

Comments

@Frenezy90
Copy link

Hello,
First of all thank you for this library which is really exceptional, except on one level, the speed of generation of PDF

I first thought it came from my code, then I got there seriously to find a solution
After several tries:
The MPDF library (which uses html2pdf) generates the same file with (at least) half the time (but does not meet all my needs unlike your library)
The html2pdf.js library to test the pure display of my page (find out if it came from my database queries), the display is instantaneous

I have no idea where my problem with html2pdf is coming from, so I think it would be necessary to create a good practice page to help improve performance

Are future updates focused on performance topical?
Or do I have to work with librairies that are less suited to my needs but faster?

NB : I use a lot of table in my PDF (but that doesn't explain how mpdf can generate them in half the time)

@94noni
Copy link
Contributor

94noni commented May 18, 2020

@Frenezy90 maybe you can use https://support.blackfire.io/en/articles/888235-can-i-try-blackfire-for-free and profile the code your implementation take on this lib

persona i use it since ~4 years, for some "basic++" usage and never feel it "slow"

@k00ni
Copy link

k00ni commented Aug 5, 2020

@Frenezy90 can you try it with #456 ?

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

4 participants