lib/utils is our directory with the most files (100+). I assume this is 
what you were talking about doing.


This is on the local docker container

iex(6)> fn -> Enum.each(0..500, fn _ -> File.ls("lib/utils") end) end |> 
:timer.tc |> elem(0) |> Kernel./(1_000_000)

1.502188

iex(7)> fn -> Enum.each(0..500, fn _ -> File.stat("lib/utils") end) end |> 
:timer.tc |> elem(0) |> Kernel./(1_000_000)

0.268047

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/0b00b9a8-fa5d-4e14-8287-c305041d096f%40googlegroups.com.

Reply via email to