A performant time library https://github.com/andrewthad/chronos#readme
|Latest on Hackage:||1.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Performance-oriented time library for haskell. The main differences between this and "time" are that this library:
Uses machine integers where possible. This means that some time-related arithmetic should be faster. It also means that the types are incapable of representing times that are very far in the future or the past.
FromJSONinstances for json serialization.
Unboxinstances for working with unboxed vectors.
Uses normal non-overloaded haskell functions for encoding and decoding time. It provides "attoparsec" parsers for both
ByteString. Additionally, it provides functions for encoding time as
ByteString. The "time" library uses accomplishes these with the
Data.Time.Formatmodule, which uses UNIX-style datetime format strings. It is expected that the approach taken in this library is faster and catches more mistakes at compile time at the cost of being less expressive.
Only provides nanosecond resolution instead of picosecond resolution.