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

rm-hull / jasengo / 30310235916
80%
main: 78%

Build:
Build:
LAST BUILD BRANCH: perf/issue-25
DEFAULT BRANCH: main
Ran 27 Jul 2026 10:18PM UTC
Jobs 1
Files 8
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

27 Jul 2026 10:16PM UTC coverage: 80.101% (-0.5%) from 80.612%
30310235916

Pull #27

github

rm-hull
perf: Reduce string and slice allocations (#21)

Optimize Sequence and SepBy1 combinators to pre-allocate result slices
with exact capacity, reducing GC pressure and improving throughput.

Changes:
- Sequence: pre-allocate results slice with capacity = len(ps)
- SepBy1: pre-allocate result slice with capacity = len(rest)+1

Benchmark improvements:
- Sequence: 21→17 allocs, 17488→17248 B/op
- SyslogParse: 840→828 allocs
- ParseAttributes: 179→165 allocs, 10504→10056 B/op
- ParseDates: 77→72 allocs, 6571→6361 B/op

Note: Many pre-allocation was attempted but reverted as it caused
regressions in benchmarks with few iterations.
Pull Request #27: perf: Reduce string and slice allocations (#21)

2 of 7 new or added lines in 1 file covered. (28.57%)

1 existing line in 1 file now uncovered.

475 of 593 relevant lines covered (80.1%)

174704.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
76.73
-0.91% parser/combinators.go

Coverage Regressions

Lines Coverage ∆ File
1
76.73
-0.91% parser/combinators.go
Jobs
ID Job ID Ran Files Coverage
1 30310235916.1 27 Jul 2026 10:18PM UTC 8
80.1
GitHub Action Run
Source Files on build 30310235916
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #27
  • PR Base - main (#30308897371)
  • 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