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

Use fuzzy-matching to improve cache hit rates with PostScriptEvaluator #18070

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented May 11, 2024

This improves performance, without any noticeable regressions when running gulp browsertest --noChrome locally on Windows.
Testing the new pr5134 test-case locally in the viewer:

  • With the master branch and isEvalSupported = true, page 2 renders in approx. 350 milliseconds.
  • With the master branch and isEvalSupported = false, page 2 renders in approx. 1550 milliseconds.
  • With this patch, which forces isEvalSupported = false, page 2 renders in approx. 990 milliseconds.

Hence this obviously isn't enough to close the performance gap, but it may still be helpful.

This improves performance, without any noticeable regressions when running `gulp browsertest --noChrome` locally on Windows.
Testing the new `pr5134` test-case locally in the viewer:
 - With the `master` branch and `isEvalSupported = true`, page 2 renders in approx. 350 milliseconds.
 - With the `master` branch and `isEvalSupported = false`, page 2 renders in approx. 1550 milliseconds.
 - With this patch, which forces `isEvalSupported = false`, page 2 renders in approx. 990 milliseconds.

Hence this obviously isn't enough to close the performance gap, but it *may* still be helpful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant