|
|
|
|
|
by wezfurlong
4666 days ago
|
|
We're a bit faster than libevent in terms of dispatch throughput; some benchmarks in this commit message:
https://github.com/facebook/libphenom/commit/41b6106f04fe62c... The `tests/bench/iopipes.t` "test" allows you to play with some concurrency parameters to try this for yourself on your hardware. We haven't compared against libev. We've added some more APIs (buffers and sockets) since those benchmarks were done and we don't have numbers to share around those yet. One key difference between libevent, libev and libuv is that libphenom is inherently multithreaded in its IO dispatcher and timeout implementation. If you're dispatching purely CPU bound jobs, we get very close to linear scaling with the number of cores:
https://github.com/facebook/libphenom/commit/c2753c2154a0cff... |
|