<div dir="auto">Not at all. Rust test is fake.  Does not process headers,  does not write headers. Does not send right output.  Does not work with browser.  Every one or two request it will die.  Rust result shoud not be taken seriously.  Until fixed</div><div class="gmail_extra"><br><div class="gmail_quote">Dne 25. 9. 2017 11:50 dopoledne napsal uživatel "tchaloupka via Digitalmars-d" <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@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 Monday, 25 September 2017 at 08:36:31 UTC, Vadim Lopatin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday, 25 September 2017 at 08:01:02 UTC, tchaloupka wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday, 25 September 2017 at 07:05:57 UTC, Vadim Lopatin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday, 25 September 2017 at 06:56:58 UTC, Vadim Lopatin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sunday, 24 September 2017 at 22:54:11 UTC, Sönke Ludwig wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How on earth can that be unfair when the Go, node.js and Scala versions appear to use multi-threading, too?<br>
</blockquote>
<br>
Looks like repo owner thinks they are single threaded.<br>
</blockquote>
<br>
Just checked threads of Go version. I see 7 'go' and 7 'main' threads.<br>
</blockquote>
<br>
I've just tried this on my linux box (only dmd as ldc2 fails with release build - <a href="https://github.com/ldc-developers/ldc/issues/2280" rel="noreferrer" target="_blank">https://github.com/ldc-develop<wbr>ers/ldc/issues/2280</a>).<br>
<br>
rust:                   Requests/sec:   38757.2625<br>
vibe-d:core libevent:   Requests/sec:   27906.8119<br>
vibe-d:core libasync:   Requests/sec:   20534.3057<br>
vibe-core:              Requests/sec:   18042.4251<br>
<br>
Didn't include the Go version as it's indeed using more threads.<br>
Results are just for the base url to not include the regex matching there.<br>
</blockquote>
<br>
I've sent PR <a href="https://github.com/nuald/simple-web-benchmark/pull/11" rel="noreferrer" target="_blank">https://github.com/nuald/simpl<wbr>e-web-benchmark/pull/11</a> to re-enable multithreading in D test app.<br>
<br>
BTW, does Rust version use multithreading?<br>
</blockquote>
<br>
Rust doesn't seem to use multiple threads, it's just faster I'm afraid.<br>
<br>
Tried the ldc release build with the suggested switch removal (<a href="https://github.com/ldc-developers/ldc/issues/2280#issuecomment-331823377" rel="noreferrer" target="_blank">https://github.com/ldc-develo<wbr>pers/ldc/issues/2280#issuecomm<wbr>ent-331823377</a>), and the results are:<br>
<br>
ldc2 vibe-d:core libevent:      Requests/sec:   29782.9605<br>
ldc2 vibe-core:                 Requests/sec:   21396.2019<br>
</blockquote></div></div>