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

Improve text layout heuristics and use layout log attributes #2364

Merged
merged 1 commit into from
Jan 26, 2025
Merged

Conversation

liZe
Copy link
Member

@liZe liZe commented Jan 25, 2025

This change gives amazing speeding results with long texts. We can expect an overall 5~10% speedup for documents with a lot of text, and 90% (10× faster) for very long walls of plain text, such as WeasyPerf’s Raw JSON sample.

Fix #2347.

This change gives amazing speeding results with long texts.
@liZe liZe added the performance Too slow renderings label Jan 25, 2025
@liZe liZe added this to the 64.0 milestone Jan 25, 2025
@liZe liZe merged commit dc3a754 into main Jan 26, 2025
13 checks passed
@liZe liZe deleted the text-speed branch January 26, 2025 13:11
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

Successfully merging this pull request may close these issues.

Speed regression
1 participant