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

perf: use module cache output from readFrom #1972

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

edmundnoble
Copy link
Contributor

All of our time was being spent reading modules from the database, because the new readFrom didn't persist its cache back to the database state. I think originally the reason why it didn't was to avoid state leakage, but this is safe because the module cache is guaranteed correct (it just does JSON parsing).

Change-Id: I405069a2ee17cfb4581df20402ff66c39675d90b

All of our time was being spent reading modules from the database,
because the new readFrom didn't persist its cache back to the database
state. I think originally the reason why it didn't was to avoid
state leakage, but this is safe because the module cache is guaranteed
correct (it just does JSON parsing).

Change-Id: I405069a2ee17cfb4581df20402ff66c39675d90b
@chessai chessai enabled auto-merge June 27, 2024 14:15
@chessai chessai added this pull request to the merge queue Jun 27, 2024
Merged via the queue into master with commit be7497d Jun 27, 2024
20 of 21 checks passed
@chessai chessai deleted the push-npnkupryxorr branch June 27, 2024 14:52
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.

2 participants