msys2-runtime icon indicating copy to clipboard operation
msys2-runtime copied to clipboard

performance regression between 3.5 and 3.6

Open sebbu2 opened this issue 8 months ago • 2 comments

I use mlocate-0.26 debian package (sources available) to index my whole OS.

With 3.5, a full run on my OS (1.8M dirs, 16M files) took 1h30. With 3.6, it takes over 15 hours.

From oftc/#msys2 advices, I did a small benchmark on clean install of msys2 (one normal, the other with msys2-runtime-3.5 & msys2-runtime-3.5-devel installed).

msys2-runtime 3.5 vs 3.6, pour mlocate-0.26
/g/test_msys (2.97gb, 80k files, 4.5k dirs):
3.5 : 42s first run, 2s second run
3.6 : 10s first run, 2s second run
/g/dev (10.5gb, 131k files, 13.5k dirs):
3.5 : 27s first run, 8s second run
3.6: 3m07s first run, 8s second run

sebbu2 avatar Apr 24 '25 15:04 sebbu2

Does this reproduce with Cygwin, too?

dscho avatar Apr 25 '25 11:04 dscho

At least not on stable version, haven't tested the TEST version

sebbu2 avatar Apr 25 '25 14:04 sebbu2