3 ms·
The stat() results are going to be cached. What is fair for a test like this? SSD or rotational media? At least clear the caches between runs, or give them th
by chasil 5y ago
The stat() results are going to be cached.
What is fair for a test like this? SSD or rotational media?
At least clear the caches between runs, or give them the same cache.
https://www.thegeekdiary.com/how-to-clear-the-buffer-pagecache-disk-cache-under-linux/ https://www.thegeekdiary.com/how-to-clear-the-buffer-pagecac...
- sincerely 5y agoThe fair test is the hardware you’re going to be running it on
- bool3max 5y agoOkay, updated results (cleared all the caches and restarted shell/terminal between runs): "time command ls -lR --color=always": 12.31 secs "time command exa -lgR --icons": 11.32 secs Still, no performance difference on my system. In fact exa seems to be slightly faster (I did the test multiple times and it was alwasy ~1 second faster). This is on a physical HDD and I could hear it churning equivalently on both of the runs.