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

Performance problem on large notes collections (including crash of VScode for 10k notes) #1251

Open
kostyfisik opened this issue Jun 30, 2023 · 0 comments

Comments

@kostyfisik
Copy link

Describe the bug

Large note sets are hardly usable for large note collections. Obsidian works fine with the same note collection.
For 10k notes it crashes, to reproduce you can try to open this one https://github.com/rcvd/interconnected-markdown/tree/main/Markdown/10000s/10000
for 5k notes editor seems to work, however, after opening [[dressing]] wikilink (dressing.md is has more than 9k backlinks) it freezes for at least a minute (it may be less on a better, however, Obsidian works fine for the same scenario).

See additional info about test-suite in this blog post

Small Reproducible Example

https://github.com/rcvd/interconnected-markdown/tree/main/Markdown/10000s/10000

Steps to Reproduce the Bug or Issue

  1. git clone [email protected]:rcvd/interconnected-markdown.git
  2. Open interconnected-markdown/Markdown/00500s/00500 dir to check that Foam extension work as intended.
    • open file advice.md
    • try to follow [[dressed]] wikilink
  3. Open interconnected-markdown/Markdown/10000s/10000 dir to get a crash or (at list) bad UX

Expected behavior

As a user I expect Foam to hand notes collections with up to 100k notes, as soon Nikolas Luhmann's original Zettlekasten was 90k notes.

Screenshots or Videos

No response

Operating System Version

Ubuntu 22.04

Visual Studio Code Version

Version: 1.68.0 Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f Date: 2022-06-08T11:49:57.055Z Electron: 17.4.7 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Linux x64 5.15.0-75-generic

Additional context

No response

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

No branches or pull requests

1 participant