-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add benchmarks for jsoniter-scala #30
Add benchmarks for jsoniter-scala #30
Conversation
7d4cd31
to
0877f41
Compare
Another finding that for different JVMs results can differ in ~2 times on some workloads (like serialization of GraalVM CE 19
GraalVM EE 19
JDK 11
JDK 8
|
…soniter-scala-macros to 0.48.2
I have updated version of jsoniter-scala to 0.48.2. This version fixes performance loss during parsing of GraalVM CE 19
GraalVM EE 19
JDK 11
JDK 8
|
Yet another finding is that turning off of hyper-threading improves results of some benchmarks (see JDK 11
|
@sirthias Thanks for the bench suit! So diversive workloads!
JFYK, I have found that Borer 0.9.0 outperforms jsoniter-scala 0.47.0 in parsing of some messages where case classes have too many fields to parse in a hot-loop (~90 or more, like in
reddit-scala.json
).Also, it helped to find an issue with case classes that has 32, 64, etc. fields
Bellow are results of both parsers on my notebook with OpenJDK 11:
jsoniter-scala
Borer
Jackson