Menu

1 / 5

77 ns vs 31 ns: jiff 1.0 is not the fastest datetime lib

DEV Community: rust·frank chu·18 days ago
#YgqFc2bm
#devtorust#devto#dev#jiff#time
Long article (1022 words) — no AI summary yet.
Reading 0:00
15s threshold

77 ns vs 31 ns: jiff 1.0 is not the fastest datetime lib

jiff 1.0 parses an RFC3339 timestamp in 77 nanoseconds on my machine. time does it in 31. chrono does it in 42. I benchmarked all three this morning, and the new 1.0 release — the one BurntSushi has been building toward for two years — is not the fastest datetime library in Rust. That's the headline, and it's also the wrong reason to judge it. The interesting numbers are the ones around the edges: formatting, where jiff beats chrono by 1.4x, and error messages, where it isn't close at all.

What 1.0 actually is

jiff 1.0.0 shipped November 15, 2026. The changelog is refreshingly boring for a 1.0: the big breaking change is a rename, Zoned → ZonedDateTime (which broke my first build this morning — more on that below). The MSRV went to Rust 1.85, Timestamp subtraction now returns a SignedDuration , and conversions to SystemTime became fallible. The message is stability: "this release marks an indefinite commitment to 1.x.y.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.