--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The benchmark code is java and looks like it's performing blocking i/o:
Part of the issue is that he's not testing what he thinks he's testing. A good portion of the timing data is going to be all about JSON serialisation/deserialisation.As for the speed of the servlet and netty tests? The telltale lines are here:Being async has nothing to do with with, we're just seeing the (already well-known) fact that jacskon is pretty darned quick.I have every confidence in the ability of macros to generate a highly optimised parser, pulling as much of the cost as possible into compile-time. We'll turn the result around yet, just as soon as someone implements that macro-based JSON library. (because Scala really doesn't yet have enough JSON libraries…)
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
There's actually some, quite awesome, research at EPFL on how to efficiently use macros for generic serialization. IIRC, the binary ssrialization speeds they're seeing are quite impressive vs. Leading java binary serializers.
Would love to see a benchmark over json and Jackson.