-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eio.Flow.copy is very slow on mac OS #453
Comments
Could you try it with the posix backend (#448) and see if that helps? |
Took this for a spin on a mac (M1) and indeed see a noticeable improvement using the posix backend over libuv. With
And then with
Whilst having a look I noticed the README still talks about this benchmark in terms of Eio_linux's use of |
Yeah, we should probably replace that section with a graph from https://github.com/ocaml-multicore/retro-httpaf-bench (there are some updates on my https://github.com/talex5/retro-httpaf-bench/tree/eio branch that need merging first though). |
With Eio 0.9, macOS will be using the eio_posix backend now and the problem should be fixed. |
I ran one of the examples from the README file on my macbook.
Compiling and running this code took ~38 sec against a 10G file while the standard library version only took ~2 sec.
Is this a limitation of the
eio_luv
backend?The text was updated successfully, but these errors were encountered: