Simple web server benchmark - vibe.d is slower than node.js and Go?

Sönke Ludwig sludwig+d at outerproduct.org
Sun Sep 24 22:54:11 UTC 2017


Am 24.09.2017 um 20:36 schrieb Vadim Lopatin:
> On Friday, 22 September 2017 at 09:40:00 UTC, Sönke Ludwig wrote:
>> What's was the last status? Could you observe any meaningful thread 
>> scaling?
> It works for me - multithreading improves performance on my PC.
> 
> 
> So far, test results on https://github.com/nuald/simple-web-benchmark
> show that D is 2-3 times slower than any other language including node.js

The response times look very strange for the kind of load that appears 
to be generated. Unfortunately the testing methodology is so simple that 
it's difficult so judge anything without running it again locally.

Having said that, the Windows implementation does have performance 
issues and needs to be looked at. It has rather low priority for me 
though, because I neither run any servers with Windows, nor did I hear 
that from anyone else who uses vibe.d.

> 
> nuald reverted change which enables multithreading since it's "unfair".

How on earth can that be unfair when the Go, node.js and Scala versions 
appear to use multi-threading, too?


More information about the Digitalmars-d mailing list