You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that Lwt_unix.files_of_directory is always slower that call directly Unix.readdir. Usually it's 2 or 3 times slower, but on some contrived examples I managed to get a 6x slowdown.
I noticed that
Lwt_unix.files_of_directory
is always slower that call directlyUnix.readdir
. Usually it's 2 or 3 times slower, but on some contrived examples I managed to get a 6x slowdown.I have created https://github.com/samoht/repros/blob/master/readdir.ml to reproduce the issue.
Lwt_stream
operations seem to make things go slower, as well as the unnecessary allocations done inreaddir_n
as spotted by @yallop.The text was updated successfully, but these errors were encountered: