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

Save/load index to files, improve logging #64

Merged
merged 5 commits into from
Jun 7, 2022

Conversation

mnaoumov
Copy link
Contributor

@mnaoumov mnaoumov commented Jun 6, 2022

Fixes #62

@scambier
Copy link
Owner

scambier commented Jun 6, 2022

Thanks for your work. Like I said in the original issue, could you please also put this new behavior behind a toggleable opt-in setting? I'd rather keep the current behavior as the default, while we're testing this for a few weeks 👍

@mnaoumov
Copy link
Contributor Author

mnaoumov commented Jun 6, 2022

@scambier ready

@scambier scambier merged commit f0e4eea into scambier:master Jun 7, 2022
@scambier
Copy link
Owner

scambier commented Jun 7, 2022

Looks good, thanks again. I'll make a first beta release this week :)

@scambier
Copy link
Owner

scambier commented Jun 9, 2022

@mnaoumov I forgot to ask the most important question: how are the performances after this PR?

@mnaoumov
Copy link
Contributor Author

mnaoumov commented Jun 9, 2022

@scambier the performance improved greatly. My vault is pretty big

searchIndex.json - 39 Mb
notesCache.json - 55 Mb

Preloading them saves tons of startup time.

And this is especially extremely performant on mobile

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.

[Feature request] Store notes cache index to the file to avoid reparsing
2 participants