-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
Measure performance improvement by "fast double writing" #992
Comments
Interestingly enough we seem to get +20% throughput improvement with JDK 8:
and with JDK 17 slightly more (+25 - 30%)
|
/cc @pjfanning This wrt discussions on including code. Interestingly enough relatively speed up on writing is bigger than reading for this data set. So it seems like valuable thing to have. |
Will need to find time to blog about the results. Another interesting thing: CBOR backend is about 50% faster than Smile for this case; and about 500% speed of JSON writer. So floating-point handling efficiency matters A LOT on writing. |
Wrote a blog post about results: https://cowtowncoder.medium.com/jackson-2-15-faster-floating-point-writes-too-19958e310185 |
(note: similar to #970)
Jackson 2.14 added
StreamReadFeature.USE_FAST_DOUBLE_WRITER
and backing implementation to speed up encoding of floating-point values from JSON (see #749). But we haven't published results (or actually done much in way of measurements).Let's change that.
Tests to be added to /~https://github.com/FasterXML/jackson-benchmarks/
The text was updated successfully, but these errors were encountered: