[4.0 b3] Performance degradation after multiple operations

Forum rules
No roms requests or illegal links

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :clap: :hum: :gnak: :lol: :super: :uh: :toobad:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [4.0 b3] Performance degradation after multiple operations

[4.0 b3] Performance degradation after multiple operations

by Wanderer » Wed Sep 09, 2015 10:39 pm

This post here just aims to show how performance is degraded when playing around with stuff (add / remove / re-add paths). Something to have in mind for future optimizations.

Mame 0.163 scenario follows. All steps are executed consecutively without closing /reopening RC at any step. OS is Win7SP1 on an i7 laptop with 6GB RAM.

- Create DB. Creation process ends normally.
- Add rom path *X*. At some point, addition fails as described in this thread. Time passed so far: ~5 minutes.
- Refresh button is hit. the rest of the files that had not been previously loaded are now loaded and added into the list. Additional time: ~10 minutes (~15 total for both steps).
- Path is removed (takes about 1 minute).
- Database is cleaned-up, just to make sure no garbage are left behind and that DB is compacted, so no performance degradation can occur due to DB file messed-up.
- After the previous step finishes, path *X* is added again. This time the process is completed in one step, without any crashes, however it takes ~30 minutes to be completed. :uh:

Top