`Reveal current file in navigation` is extremely slow in a big vaults

(Extracted from Intermittent UI clears out - DevTools was disconnected from the page v2)

Steps to reproduce

  1. Consider the vault
    Test.7z.zip (45.3 KB)

It has 100k records.

The further instructions are in the README.md

  1. Open dir/problem.md

  2. Press Expand all button in the Files pane

  3. Ctrl + PFiles: Reveal current file in navigation

Did you follow the troubleshooting guide? [Y/N]

Expected result

The performance is reasonable and UI is not blocked

Actual result

Obsidian freezes for a minute

Environment

SYSTEM INFO:
	Obsidian version: v1.3.5
	Installer version: v1.3.5
	Operating system: Windows 10 Pro 10.0.22621
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Thanks

Does setting a hotkey for it …

CTRL + SHIFT + R

… speed matters up at all?