• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / strtotime / 24099148532 / 1
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2026 07:01PM UTC
Files 11
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2026 07:00PM UTC coverage: 82.423% (-0.4%) from 82.806%
24099148532.1

push

github

MagicalTux
Optimize tokenizer and parser pipeline

Rewrite tokenizer to use substring slicing instead of strings.Builder,
eliminating per-token allocations. Pre-allocate token slice capacity.

Add first-byte guard wrappers (guardDigit, guardByte, guardPrefix) to
skip parsers that can't match with a single byte check.

Remove redundant strings.ToLower calls in lookup functions since
StrToTime already lowercases input before calling parsers.

Results: 7-28 fewer allocations per parse, ~1.3-1.5x faster for
month-name and numbered-weekday formats.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

2701 of 3277 relevant lines covered (82.42%)

181.62 hits per line

Source Files on job 24099148532.1
  • Tree
  • List 11
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24099148532
  • b7c6c177 on github
  • Prev Job for on master (#24080827693.1)
  • Next Job for on master (#24114079161.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc