Floating-point write performance on JDK 21: JDK now (slightly) faster than "Schubfab"-optimized path #1351
Labels
2.19
Issues planned at earliest for 2.19
performance
Issue related to performance problems or enhancements
Something I found out when writing:
https://cowtowncoder.medium.com/jackson-2-18-fast-vector-reads-writes-6c2cf99c4594
is that while with JDKs 8 and 17 optimized floating-point writes (with
StreamWriteFeature.USE_FAST_DOUBLE_WRITER
) is about 2x as fast as JDK one, with JDK 21, JDK version is now slightly faster.Code Jackson uses is from https://github.com/c4f7fcce9cb06515/Schubfach (as per notes on 3 classes in
com.fasterxml.jackson.core.io.schubfach
).So it'd be good to consider what to do, if anything:
The text was updated successfully, but these errors were encountered: