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

stephenafamo / bob / 28864184205
48%
main: 48%

Build:
Build:
LAST BUILD BRANCH: semi-join
DEFAULT BRANCH: main
Ran 07 Jul 2026 12:06PM UTC
Jobs 2
Files 252
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

07 Jul 2026 11:53AM UTC coverage: 47.665%. Remained the same
28864184205

Pull #728

github

sandonemaki
perf(gen): reuse the preload child scan buffer across rows

The generated <table>ScanMapperNullable allocated a fresh PreloadBuf with
new(...) inside its per-row before func, i.e. one heap allocation per parent
row (LEFT JOIN misses included). The buffer is pure scratch: before -> scan ->
after runs synchronously per row, scheduled columns are fully overwritten each
row, and unselected columns stay zero, so a single query-scoped buffer is
safe. Hoist it out of the before func and reuse it; the returned child is still
freshly allocated, so buf never escapes past after.

BenchmarkPreloadMapper/typed: -1 alloc per parent row (-17% B/op, ~-11% ns/op).

Keeps the hand-written testPreloadChildMapper in load_preload_test.go in sync
so TestPreloadMapperParity exercises the reused-buffer shape.
Pull Request #728: perf(gen): reuse the preload child scan buffer across rows

11839 of 24838 relevant lines covered (47.66%)

721.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 go-stable - 28864184205.1 07 Jul 2026 12:08PM UTC 252
47.66
GitHub Action Run
2 go-oldstable - 28864184205.2 07 Jul 2026 12:06PM UTC 252
47.63
GitHub Action Run
Source Files on build 28864184205
  • Tree
  • List 252
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #728
  • PR Base - main (#28859876462)
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