simdjson-java icon indicating copy to clipboard operation
simdjson-java copied to clipboard

simdjson is much slower than jackson

Open z00407087 opened this issue 1 year ago • 2 comments
trafficstars

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: image profiler:

z00407087 avatar May 13 '24 14:05 z00407087

add profile: Uploading simdjson-profiler.png…

z00407087 avatar May 13 '24 14:05 z00407087

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?

piotrrzysko avatar May 15 '24 04:05 piotrrzysko

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.

piotrrzysko avatar Jun 08 '24 12:06 piotrrzysko