Opened 3 years ago

Closed 3 years ago

#12342 closed defect (fixed)

BASE: Loading engine plugins is slow

Reported by: ccawley2011 Owned by: sev-
Priority: high Component: --Unset--
Version: Keywords:
Cc: Game:

Description

When building with uncached plugins, ScummVM will always iterate through all plugins to find the required engine plugin. This can potentially take around 20 seconds on the DS, which is spent looking at a blank screen, making it appear that the application has hung. Since the engine ID is usually in the file name, it would make sense to guess from the file name first, before scanning each one.

Change History (2)

comment:1 by sev-, 3 years ago

It is an overlooked degradation from splitting out detection plugins. Looking into it.

comment:2 by sev-, 3 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

I fixed this in 436e47292eead563577ce70e163d909fe1b10add

Now, it seems that we need to set UNCACHED_PLUGINS by default on all ports, I will create an RFC PR after the release.

Note: See TracTickets for help on using tickets.