simdjson-java
simdjson-java copied to clipboard
simdjson is much slower than jackson
I make a peformance test between simdjson and jackson, the result is simdjson slower much than jackson. why?
the result:
SimdJson deserialize run 100000 cost 80532ms;
Jackson deserialize run 100000 cost 1902ms;
code demo:
profiler:
add profile:
Based on the screen you shared, I assume that you didn't perform any warm-up iterations, which are crucial to allow JIT to kick in. Have you followed any guidelines regarding (micro)benchmarking (e.g., described here: https://www.oracle.com/technical-resources/articles/java/architect-benchmarking.html)?
Also, it would be good to see on what data you ran the benchmark. Would you mind sharing it?
I'm closing this because, without additional information (mentioned in the above comment), I cannot address it. Feel free to reopen if you can answer my questions.