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

Re-add lru_cache to __get_register_for_selected_frame #809

Merged
merged 1 commit into from Jan 30, 2022
Merged

Conversation

Grazfather
Copy link
Collaborator

Dropping this was causing 30-40% performance degradation of our
'context' use case. We already add the 'hash_key' so that the LRU cache
takes into account the selected frame to avoid using the cache when the
frame has changed.

How Has This Been Tested?

Architecture Yes/No Comments
x86-32 ✖️ Replace with ✔️ if tested
x86-64 ✖️
ARM ✖️
AARCH64 ✔️
MIPS ✖️
POWERPC ✖️
SPARC ✖️
RISC-V ✖️
make test ✖️

Checklist

  • My PR was done against the dev branch, not master.
  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • My change adds tests as appropriate.
  • I have read and agree to the CONTRIBUTING document.

Dropping this was causing 30-40% performance degradation of our
'context' use case. We already add the 'hash_key' so that the LRU cache
takes into account the selected frame to avoid using the cache when the
frame has changed.
@hugsy hugsy merged commit a280cfe into dev Jan 30, 2022
@hugsy hugsy deleted the cache_get_reg branch January 30, 2022 02:21
@hugsy hugsy added this to the Release: next milestone Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants