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

Allow BaseLocalCache to, optionally, only allocate storage for caching of references (PR 12034 follow-up) #12057

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Yet another instalment in the never-ending series of things that you think of after a patch has landed.

Since Functions are only cached by reference, we thus don't need to allocate storage for names in LocalFunctionCache instances. Obviously the effect of these changes are really tiny, but it seems reasonable in principle to avoid allocating data structures that are guaranteed to be unused.

…ing of references (PR 12034 follow-up)

*Yet another instalment in the never-ending series of things that you think of __after__ a patch has landed.*

Since `Function`s are only cached by reference, we thus don't need to allocate storage for names in `LocalFunctionCache` instances. Obviously the effect of these changes are *really tiny*, but it seems reasonable in principle to avoid allocating data structures that are guaranteed to be unused.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jul 4, 2020

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.215.176.217:8877/1c575531872b471/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jul 4, 2020

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/81cce596204d0bf/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jul 4, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/81cce596204d0bf/output.txt

Total script time: 26.40 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/81cce596204d0bf/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Jul 4, 2020

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/1c575531872b471/output.txt

Total script time: 30.34 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.215.176.217:8877/1c575531872b471/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 4ef43ca into mozilla:master Jul 5, 2020
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the BaseLocalCache-onlyRefs branch July 5, 2020 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants