Skip to content

Delay when returning to ES with large list of ROMs #381

@joolswills

Description

@joolswills

@tomaz82

I noticed a delay when returning to Emulation Station after launching a mame title (with a full set). I have bisected it to cd2f2ee

cd2f2ee42b911711db6bd6e0276bea494a389e88 is the first bad commit
commit cd2f2ee42b911711db6bd6e0276bea494a389e88
Author: Tomas Jakobsson <tompsson@hotmail.com>
Date:   Mon Oct 23 01:04:17 2017 +0200

    Use local game art ( image, marquee and video ) from romfolder/images if the gamelist didn't specify a path

:040000 040000 d26ee8a850036a49a79dd7dd56129fbcae47a6c3 7429a03f15f3de13139ed25546f517e2d5fbcb6b M	es-app

I assume this is because it is scanning for thumbnails/marquees for each entry as it's not noticeable with short lists. I was also using a remote filesystem, which may make the problem worse.

Ideally we would only scan once, and save this information in memory - if that's feasible (unless I have misunderstood the problem).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions