Performance

This commit is contained in:
Vincent Riquer 2025-01-20 20:21:39 +01:00
parent 04bda0178c
commit 4725061523

29
doc/performances.txt Normal file
View File

@ -0,0 +1,29 @@
# TEST DATA
155GB, 14430 files in 2716 directories and subdirectories:
$ du -sh /var/lib/mpd/music
155G /var/lib/mpd/music
$ find /var/lib/mpd/music -type d|wc -l
2716
$ find /var/lib/mpd/music -type f|wc -l
14430
# SCANNING
Initial scan takes 5 minutes, probably because of mime-type detection:
$ time ./atom
[...]
14430 files found, 14430 new or changed.
real 5m4.144s
user 0m19.821s
sys 0m17.393s
A second scan takes less than 14 seconds:
$ time ./atom
[...]
14430 files found, 0 new or changed.
real 0m13.770s
user 0m11.169s
sys 0m1.844s