jackson-modules-java8 icon indicating copy to clipboard operation
jackson-modules-java8 copied to clipboard

Consider performance improvements for Date/Time parsing

Open cowtowncoder opened this issue 6 years ago • 2 comments

Jsoniter project (https://github.com/plokhotnyuk/jsoniter-scala) has many impressive performance optimizations; linked f.ex from here:

https://www.reddit.com/r/java/comments/darehu/jackson_release_210/f1ysf1e/

and ones relevant to this repo have to with Java 8 date/time type decoding. It would be great to investigate if some of the techniques could be used here: handling of Date/Time values is notoriously CPU intensive (although not necessarily low-level encoding/decoding?).

cowtowncoder avatar Nov 06 '19 00:11 cowtowncoder

Simple but yet efficient implementations of .parse and .toString for java.time.* classes are here.

plokhotnyuk avatar Jun 26 '21 18:06 plokhotnyuk

The library https://axibase.com/docs/atsd/shared/time-pattern.html#date-and-time-patterns is quite fast too. But I don’t know if the company behind it is still alive.

fbacchella avatar May 01 '24 15:05 fbacchella