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

dunglas / go-urlpattern / 29458502182
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: claude/ci-main-fix-e25ogb
DEFAULT BRANCH: main
Ran 15 Jul 2026 11:26PM UTC
Jobs 1
Files 6
Run time 1min
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

15 Jul 2026 11:25PM UTC coverage: 91.914% (+0.04%) from 91.878%
29458502182

Pull #12

github

dunglas
perf: share precompiled regexps for common component patterns

Compiling a URLPattern compiles one regexp per URL component. In typical
patterns most components are the full wildcard (the default for username,
password, search and hash) or empty (a common port), whose generated
expressions are a small fixed set of constant strings. Reuse a shared
precompiled *regexp.Regexp for those (safe for concurrent use) instead of
calling regexp.Compile per component.

New geomean: -21% time, -25% B/op, -22% allocs (BenchmarkNew).
Pull Request #12: perf: share precompiled regexps for common component patterns

4 of 6 new or added lines in 1 file covered. (66.67%)

2 existing lines in 1 file now uncovered.

1489 of 1620 relevant lines covered (91.91%)

1133.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.1
0.09% constructor_type_parser.go

Coverage Regressions

Lines Coverage ∆ File
2
96.1
0.09% constructor_type_parser.go
Jobs
ID Job ID Ran Files Coverage
1 29458502182.1 15 Jul 2026 11:26PM UTC 6
91.91
GitHub Action Run
Source Files on build 29458502182
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #12
  • PR Base - main (#24727388304)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc