uutils
parse_datetime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
perf: avoid CodSpeed regression on parse_invalid_input The original noise-token alt-branch made every invalid alphabetic input take an extra parse-item iteration plus a builder-level rejection, which showed up as a -13.27% regression on the parse_invalid_input bench. Restructure: drop the global Item::Noise variant and instead absorb trailing GNU-compat noise inside parse_item only after a Pure item was matched, gated on a cheap peek that confirms the next token is not a real item (datetime/date/time/relative/weekday/offset/pure). This keeps the hot invalid-input and weekday paths identical to main (no extra alt branch), while still passing all noise_after_pure_number cases: - 8j -> 08:00:00 - 8 j -> 08:00:00 - 1230foo -> 12:30 - bogus +1 day -> error (leading garbage) - 2025-01-01 abcdef -> error (noise after non-pure) - notadate -> error (standalone unrecognized) All 377 tests pass; cargo fmt and clippy clean.
0xSoftBoi:fix/ignore-trailing-noise-tokens
5 days ago
chore(deps): update rust crate codspeed-criterion-compat to v4.6.0
renovate/codspeed-criterion-compat-4.x-lockfile
14 days ago
chore(deps): update rust crate jiff to v0.2.24
main
18 days ago
chore(deps): update rust crate jiff to v0.2.24
renovate/jiff-0.x-lockfile
19 days ago
chore(deps): update rust crate winnow to v1.0.2
main
21 days ago
chore(deps): update rust crate winnow to v1.0.2
renovate/winnow-1.x-lockfile
21 days ago
chore(deps): update rust crate codspeed-criterion-compat to v4.5.0
main
25 days ago
chore(deps): update rust crate codspeed-criterion-compat to v4.5.0
renovate/codspeed-criterion-compat-4.x-lockfile
25 days ago
Latest Branches
CodSpeed Performance Gauge
-11%
fix: silently ignore unrecognized trailing alphabetic tokens after pure numbers
#286
5 days ago
06267b3
0xSoftBoi:fix/ignore-trailing-noise-tokens
CodSpeed Performance Gauge
+3%
chore(deps): update rust crate codspeed-criterion-compat to v4.6.0
#293
14 days ago
1070602
renovate/codspeed-criterion-compat-4.x-lockfile
CodSpeed Performance Gauge
0%
chore(deps): update rust crate jiff to v0.2.24
#292
19 days ago
8683a47
renovate/jiff-0.x-lockfile
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs