Why not to use distribute oprion?
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit that I though D was more faster than that. How is this even possible ?
I am doing something wrong ?
Here are the numbers with the project :
https://github.com/llaine/benchmarks/blob/master/README.md
you should:
- use this https://github.com/etcimon/ddb Postgres client
- fix your logic
- NOT use option distribute
- use LDC2 beta2 as compiler with release flag
- use neweset vibe.d version
and then your results should be easily above 1000 rps