Skip to content

Conversation

peteralfonsi
Copy link
Owner

Description

Computes the estimated RAM size of IRC Key objects and IndicesService.IndexShardCacheEntity objects just once, rather than every time one gets instantiated. This was causing ~5% performance overhead in tiered caching relative to baseline. These classes were static before our tiered caching changes, so this should not cause any issues.

Related Issues

N/A

Check List

  • [N/A] New functionality includes testing.
    • All tests pass
  • [N/A] New functionality has been documented.
    • [N/A] New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • [N/A] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • [N/A] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

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.

1 participant