Horrible performance if Explorer pane expanded with many files

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

Create a folder with thousands of notes and expand it in Explorer pane

Expected result

Rendering performance is not changed

Actual result

High CPU usage, Obsidian is unusable


  • Operating system:

Windows 11

  • Debug info:

Obsidian version: v0.14.15
Installer version: v0.14.6
Operating system: Windows 10 Pro 10.0.22000
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: off
Plugins installed: 41
Plugins enabled: 37
1: Advanced Tables
2: Advanced URI
3: AidenLx’s Folder Note
4: AidenLx’s Folder Note - folderv component
5: Better CodeBlock
6: Collapse All
7: Consistent attachments and links
8: Copy Image and URL in Preview
9: Custom Attachment Location
10: Customizable Sidebar
11: Dataview
12: Dynamic Table of Contents
13: Electron Window Tweaker
14: Excel to Markdown Table
15: File Cleaner
16: Filename Heading Sync
17: Find unlinked files and unresolved links
18: Folder Note Core
19: Frontmatter Tag Suggest
20: Go to Line
21: Hot Reload
22: Image Toolkit
23: Indentation Lines
24: Linter
25: Local images
26: Markdown Table Editor
27: Metatable
28: Number Headings
29: Obsidian Git
30: Obsidian Link Converter
31: Obsidian42 - BRAT
32: Quick Explorer
33: Recent Files
34: Shortcuts extender
35: Tag Wrangler
36: Templater
37: WordPress

Additional information

Clicking Collapse all button fixes this performance issue.

When expanded, Profile shows that most of the time is spent in updateVirtualDisplay function. It seems it is being executed even for the off-screen elements. I think if it is called for only visible elements, it might give a huge performance boost.

1 Like

Enter safe mode, use default theme.
Restart obsidian. Record a performance profile if it still happens.