Benchmark Dlang vs Node vs Ruby

yazd via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 27 07:59:44 PDT 2016


On Friday, 27 May 2016 at 14:46:47 UTC, llaine wrote:
> On Friday, 27 May 2016 at 14:17:16 UTC, Adam D. Ruppe wrote:
>> On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
>>> I am doing something wrong ?
>>
>> So, the benchmark, the Ruby, and the JS all use the path to be 
>> /.... the D seems to use /companies (though I don't know 
>> vibe). Is that right?
>
> All right after switching of psql client I had lower results 
> actually ...
>
> Req/Sec 22.85 for 30 seconds.
>
> What are you using to do web if you don't user Vibe.d?

Your code is not doing the same thing in the benchmarks. In D, 
you are appending 10000 companies on every request, resulting in 
10000, 20000, 30000, .... companies in subsequent requests.


More information about the Digitalmars-d-learn mailing list