If you’re looking at raw file performance you should avoid the usage of the erlang file_server. See the :raw
mode in File
: File — Elixir v1.13.2
And there’s numerous threads on the forum about performance including with files. Here’s a link to a helpful comment in one: Help with performance (file io) - #31 by sasajuric
Also what is k6? is it https://k6.io?