[Haskell-cafe] How to optimize a directory scanning?

Niklas Hamb├╝chen mail at nh2.me
Sat May 11 01:52:38 UTC 2019


we made the `posix-paths` package for fast directory traversals:


You can find benchmarks in


Some more tips (some of them you're already following as per other threads):

* Use `time` to if time is spent on kernel CPU, userspace CPU, or waiting
* Use `strace -fy` with `-ttt` and `-T` to see timings, and `-c` and `-wc` summary statistics

More information about the Haskell-Cafe mailing list