On Friday, 27 May 2016 at 14:48:19 UTC, Daniel Kozak wrote:
On Friday, 27 May 2016 at 14:18:31 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?

Yes it's that i'm routing to /companies to get the result, but let me change the psql library delete this routing and trying again.

Yous should enable http://vibed.org/api/vibe.http.server/HTTPServerOption.distribute

something like this:

auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.options |= HTTPServerOption.distribute;
listenHTTP(settings, router);

Hi,

With this option I get the same results but something interesting is displayed on the binary output :

core.exception.InvalidMemoryOperationError@src/core/exception.d(693): Invalid 
memory operation

The code :
https://github.com/llaine/benchmarks/blob/master/vibed/source/app.d

Reply via email to