HTTP frameworks benchmark focused on D libraries
james.blachly at gmail.com
Mon Sep 21 22:28:12 UTC 2020
On 9/20/20 4:03 PM, tchaloupka wrote:
> as it pops up now and then (last one in
> https://email@example.com) I
> wanted to see the various D libraries performance against each other too
> and ended up with https://github.com/tchaloupka/httpbench
> It's just a simple plaintext response testing (nothing fancy as in
> Techempower) but this interests me the most as it gives the idea about
> the potential of the library.
> More details in the README.
> Hope it helps to test some ideas or improve the current solutions.
Thank you for doing this!
One of the most fascinating things I think is how photon really shines
when concurrency gets dialed up. With 8 workers, it performs about as
well, but below, the rest of the micro, including below Rust and Go
However, at 64 concurrent workers, photon rises to the top of the stack,
performing about as well as eventcore and hunt. When going all the way
up to 256, it was the only one that demonstrated **consistent
performance** -- about the same as w/64, whereas ALL others dropped off,
performing WORSE with 256 workers.
More information about the Digitalmars-d-announce