Sorry if you know why this slow, calling IO.puts every times make performance wrong. system call block until finish of I/O. I'm not good at Elixir, but you've better to use buffer for writing. Actually, yes command does not call write(2) for each lines.
I didn't know that IO.puts takes such a cost. I'll try to use buffer with Elixir. Thanks for your advice!!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.