Skip to content

simdjson is much slower than jackson #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
z00407087 opened this issue May 13, 2024 · 3 comments
Closed

simdjson is much slower than jackson #48

z00407087 opened this issue May 13, 2024 · 3 comments

Comments

@z00407087
Copy link

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
Copy link
Author

add profile:
Uploading simdjson-profiler.png…

@piotrrzysko
Copy link
Member

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants