<p dir="ltr">Why not to use distribute oprion?</p>
<div class="gmail_quote">Dne 27. 5. 2016 17:35 napsal uživatel "yawniek via Digitalmars-d-learn" <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br>
<br>
In my journey of learning about D I tried to benchmark D with Vibe.d vs node with express and Ruby with Sinatra.<br>
<br>
And the results are pretty surprising.<br>
I have to admit that I though D was more faster than that. How is this even possible ?<br>
<br>
I am doing something wrong ?<br>
<br>
<br>
Here are the numbers with the project :<br>
<br>
<a href="https://github.com/llaine/benchmarks/blob/master/README.md" rel="noreferrer" target="_blank">https://github.com/llaine/benchmarks/blob/master/README.md</a><br>
</blockquote>
<br>
you should:<br>
- use this <a href="https://github.com/etcimon/ddb" rel="noreferrer" target="_blank">https://github.com/etcimon/ddb</a>  Postgres client<br>
- fix your logic<br>
- NOT use option distribute<br>
- use LDC2 beta2 as compiler with release flag<br>
- use neweset vibe.d version<br>
<br>
and then your results should be easily above 1000 rps<br>
<br>
<br>
</blockquote></div>