Actions
Emulator Issues #11004
openNull video backend and OGL video backends become unbearably slow due to texture cache.
% Done:
0%
Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
Description
Game Name?
Super Smash Brothers Melee
The issue is present at the latest GitHub master as of April 15th. I've attached a profile using the Google perftools profiler of CPU usage after 10 minutes of play with the Null backend. With the OGL backend, it takes more like 24 hours to get the same result.
All the time is spent in FindMatchingTexturesFromPool in the line: auto range = texture_pool.equal_range(config);
It seems that the texture_pool is growing indefinitely causing performance issues. After more play, pretty much all of the CPU is spent on that line of code.
Files
Actions