HTTP Server benchmark
ikod
geller.garry at gmail.com
Tue Jul 21 09:07:36 UTC 2020
On Tuesday, 21 July 2020 at 08:28:45 UTC, Arun wrote:
> I created this a while ago and stumbled on this today again.
> FWIW, we can show this to someone claiming D as slow.
>
> https://github.com/carun/http-server-benchmark
>
> vibe-d clearly uses lot more memory than rust-actix. I am not a
> rust programmer by any means, so I just ran the test code in
> the actix repo.
>
> Also we use poco (cpp) in production heavily and the
> performance numbers don't really match the actual numbers
> observed in this benchmark.
How do they corrlate?
>
> So far memory and related issues are the major ones I have
> observed in various instances of our apps across the board
> using D. I have seen crashes with vibe-d under 100% CPU usage.
> I have given up using it since then and moved to poco
> permanently, albeit it feels like coding in 2000s with if-else
> for route configuration.
I'm not sure if VSZ is important here, but RSS - definitely.
I'm usually run benchmarks with nginx in order to have some
baseline for average and 99-percentile latencies.
More information about the Digitalmars-d
mailing list