Skip to content

Grid view performance issues #367

@tawmas

Description

@tawmas

Bug report checklist

  • I have searched existing issues and this is not a duplicate
  • I have updated to the latest version of Dynamic Views
  • I have updated to the latest version of Obsidian
  • I can reproduce the issue in the sandbox vault, or after disabling all other third-party plugins and CSS snippets, switching to default theme, then restarting Obsidian

What views does the issue affect? (If applicable)

  • Bases view
  • Datacore view

Steps to reproduce

Load a grid view with many elements (I have 314), and wait for it to display. Scroll around. Try to search in the result (hourglass icon in the header).

Expected result

Performance is on par with the native cards view (sub 200 ms for initial load and searching, scrolling is smooth).

Actual result

Load time is very high, both on initial load and while searching (during search, when the result set is finally filtered down to a small number of cards, performance becomes normal). In most cases, load time is around 8 seconds for me, although in some cases it's faster although still slow (at times, down to about 2 seconds).

Scrolling is somewhat choppy.

Debug information

SYSTEM INFO:
	Obsidian version: 1.12.4
	Installer version: 1.12.4
	Operating system: Windows 11 Home 10.0.26200
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: Minimal 8.1.6
	Snippets enabled: 2
	Restricted mode: off
	Plugins installed: 10
	Plugins enabled: 10
		1: Style Settings v1.0.9
		2: Dataview v0.5.70
		3: Plugin Update Tracker v1.7.0
		4: Minimal Theme Settings v8.2.1
		5: Interlinear Glossing v2.1.1
		6: Omnisearch v1.28.2
		7: Calendar v1.5.10
		8: Templater v2.18.1
		9: Current View v1.4.2
		10: Dynamic Views v0.13.0

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Additional information

This is substantially the same base as #330. I have just made minor improvements to some of the formulas, and there are now more notes.

Console logs

No response

Plugin settings

No response

Style Settings

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions