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

Perfomance issues when using properties overflow-wrap and white-space #569

Closed
nt0xa opened this issue Feb 6, 2018 · 0 comments
Closed
Labels
performance Too slow renderings
Milestone

Comments

@nt0xa
Copy link

nt0xa commented Feb 6, 2018

It takes about 25 seconds to create one page pdf when I use css property overflow-wrap: break-word in combination with propery white-space: pre-wrap.
I've created a small example:

$ time weasyprint https://gist.githubusercontent.com/russtone/f50a33ccc563cf585dc669264bb7e4ed/raw/d11bd656d308d2b64db0cff25304bca32d2e10dc/test.html test.pdf
weasyprint  test.pdf  24.61s user 0.12s system 94% cpu 26.232 total

Environment:

  • Darwin 17.4.0 x86_64
  • Python 3.6.4
  • WeasyPrint 0.42.2
@liZe liZe added the performance Too slow renderings label Feb 12, 2018
@liZe liZe added this to the 43 milestone Feb 12, 2018
@liZe liZe closed this as completed in 6f435de Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Too slow renderings
Projects
None yet
Development

No branches or pull requests

2 participants