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

Local storage context #315

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Local storage context #315

wants to merge 4 commits into from

Conversation

vocksel
Copy link
Collaborator

@vocksel vocksel commented Dec 19, 2024

Problem

I observed some huge chunks of microprofiler time spent from GetSetting/SetSetting calls. Presumably each one is making a disk read/write. And while not in this PR, a change in #290 introduces frequent read/writes that we need to accommodate

Solution

Plugin settings are now read from disk only once. In-memory edits are made from there.

Checklist

  • Ran lune run test locally before merging

Read's plugin settings from disk once, then makes in-memory edits. I observed some huge chunks of microprofiler time spent from GetSetting/SetSetting calls. Presumably each one is making a disk read/write. This eliminates that class of issues
@vocksel vocksel marked this pull request as ready for review December 19, 2024 03:45
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