FasterXML / jackson-modules-java8

Set of support modules for Java 8 datatypes (Optionals, date/time) and features (parameter names)
Apache License 2.0
398 stars 116 forks source link

Consider performance improvements for Date/Time parsing #156

Open cowtowncoder opened 4 years ago

cowtowncoder commented 4 years ago

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?).

plokhotnyuk commented 3 years ago

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

fbacchella commented 4 months ago

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.