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

Stripes extremely slow to render #17959

Open
muster-mark opened this issue Apr 17, 2024 · 4 comments
Open

Stripes extremely slow to render #17959

muster-mark opened this issue Apr 17, 2024 · 4 comments

Comments

@muster-mark
Copy link

muster-mark commented Apr 17, 2024

I used puppeteer create a pdf from a page using css linear-gradient (I tried to use repeating-linear-gradient which would have been more natural, but ran into #5046). I changed to use linear-gradient, letting the background itself repeat. The resulting pdf renders astonishingly slow in firefox - you can see it being rendered cell by cell. In chrome and acrobat it renders pretty much instantaneously.

slow_to_render.pdf

@calixteman
Copy link
Contributor

What's your Firefox version ?
Could make a profile in using the Firefox profiler ?

@muster-mark
Copy link
Author

I am using Firefox 125. Here is a profile:

Firefox 2024-04-28 11.33 profile.json.gz

@THausherr
Copy link
Contributor

it's rendered faster (not "cell by cell", more like "line by line") for me. FF 125.0.2 on Windows 10. But yes, chrome is faster.

@muster-mark
Copy link
Author

it's rendered faster (not "cell by cell", more like "line by line") for me. FF 125.0.2 on Windows 10. But yes, chrome is faster.

Actually, does seem to be row by row for me too.

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

No branches or pull requests

4 participants