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

LRU cache for state gen #5004

Merged
merged 5 commits into from Mar 4, 2020
Merged

LRU cache for state gen #5004

merged 5 commits into from Mar 4, 2020

Conversation

terencechain
Copy link
Member

This PR implements a LRU cache for state gen pkg.

This was proven to be crucial in #4834 with hit/miss ratio up to >99%. A big piece of mem reductions in the future for state gen

@terencechain terencechain self-assigned this Mar 4, 2020
@terencechain terencechain added Ready For Review A pull request ready for code review new-state-mgmt labels Mar 4, 2020
@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

Merging #5004 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5004   +/-   ##
=======================================
  Coverage   25.53%   25.53%           
=======================================
  Files          79       79           
  Lines        6723     6723           
=======================================
  Hits         1717     1717           
  Misses       4783     4783           
  Partials      223      223

@prylabs-bulldozer prylabs-bulldozer bot merged commit 139f51e into master Mar 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the state-gen-lru-cache branch March 4, 2020 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants