vibe.d in techempower web framework benchmark
Sönke Ludwig
sludwig at outerproduct.org
Tue Oct 1 00:34:11 PDT 2013
Am 25.04.2013 09:06, schrieb deadalnix:
> I have been discussing with the author of techempower web framework
> benchmark. He ended asking me a pull request to integrate vibe.d .
>
> See :
> http://www.techempower.com/benchmarks/
>
> The instruction to create a pull request are here :
> https://github.com/TechEmpower/FrameworkBenchmarks
>
> I don't have much time right now, so if someone want to do it, that
> would be awesome. If nobody volunteer, I'll do it, but I clearly lack
> time right now. I also lack knowledge about how to get the best out of
> vibe.d and risk to propose an under performant pull request.
>
> vibe.d perform very well in many situation, so I think this is a good
> opportunity to demonstrate what we have and do some advertisement for D.
I've finally taken the time to do the first step and integrated a simple
benchmark target into a fork of the benchmark suite:
https://github.com/s-ludwig/FrameworkBenchmarks/tree/master/vibe.d
It's still very rough and misses the actual DB queries and proper
testing of the setup scripts. If anyone with a running MySQL server and
some experience with the mysql-native driver wants to add the missing
query execution code that would be great!
The most obvious possibility for improvement is the JSON serialization.
That currently allocates twice, once for T->JSON and once for
JSON->string -- it shouldn't allocate at all. Since std.serialization
still seems to take some time, I'll probably add something to the
existing serialization code in vibe.d for that.
See also
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/1670/#post-5094
More information about the Digitalmars-d
mailing list