chronos: A performant time library
|Versions||0.1.0, 0.2.0, 0.3, 0.4, 1.0, 1.0.1|
|Dependencies||aeson (>=0.11 && <1.3), attoparsec (==0.13.*), base (>=4.8 && <5), bytestring (==0.10.*), clock (==0.7.*), hashable (==1.2.*), primitive (==0.6.*), text (==1.2.*), torsor (==0.1.*), vector (>=0.11 && <0.13) [details]|
|Copyright||2016 Andrew Martin|
|Source repo||head: git clone https://github.com/andrewthad/chronos|
|Uploaded||by andrewthad at Fri Dec 15 14:30:56 UTC 2017|
|Downloads||1771 total (24 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2017-12-15 [all 1 reports]
Hackage Matrix CI
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.
Provides Unbox instances for working with unboxed vectors.
Uses normal non-overloaded haskell functions for encoding and decoding time. It provides "attoparsec" parsers for both Text and ByteString. Additionally, it provides functions for encoding time as Text or ByteString. The "time" library uses accomplishes these with the Data.Time.Format module, 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.
For package maintainers and hackage trustees