Skip to content

[Bug] UI freezes up with huge/massive collection #89

@fatflyingpigs

Description

@fatflyingpigs

RomM version
V1.5

Describe the bug
When attempting to load a platform with a large number of entries, there is a huge lag.
700 entries: takes 1-5 seconds, loads smoothly
8500 entires: takes 60+ seconds, sometimes Chrome will prompt to terminate the tab. Scrolling down quickly seems to lazy load the image for each game (in this case, 'cover missing' for most of them).

To Reproduce

  1. Have two folders, folder 'ds' has 1 file and folder 'gba' 8500 files. Scan the files.
  2. After the scan, click on the 'ds' section. Then click on the 'gba' section and wait for the lag.

Expected behavior
It would be nice if large collections could be loaded lazily, instead of the page trying to fetch every game at once. Actually, the implementation doesn't really matter - I'd just like the page to load faster, even if the cover images load in later.

Desktop (please complete the following information):
Windows 10, Chrome v109.0.5414.75

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions