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

Eyevinn / moqlivemock / 39856472231
60%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2026 09:21PM UTC
Jobs 1
Files 40
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

22 Oct 2026 09:20PM UTC coverage: 57.359% (-0.03%) from 57.387%
39856472231

push

github

tobbee
perf: build each MoQ group's chunks in one reused fragment

mp4ff v0.59.0 added Fragment.Reset, which puts a fragment back in the state CreateFragment returns while keeping its boxes, its trun sample list, its encryption boxes and the mdat buffer it allocated. GenMoQGroup now creates one fragment per group and createFragment resets it for each chunk, where it used to create a new fragment per chunk. Each chunk is encoded into bytes of its own (CMAF) or copied by locmaf.EncodeCanonical (LOCMAF) before the next is made, so nothing outlives a Reset. GenCMAFChunk and GenLocmafChunk take the fragment as a new last argument; nil keeps the old one-off behaviour for the bitrate measurement and the tests.

A protected track used to give the mdat a preallocated buffer with SetData. Reset drops a buffer the mdat does not own, so the copy is now left to AddFullSample, whose buffer the mdat owns and Reset keeps.

BenchmarkGenMoQGroup against main, interleaved runs, n=6, all p=0.002: time -25%, bytes -41%, allocations -72% (geomean). CMAF allocations drop by 80-88% (AVC clear 506 -> 74 per group), LOCMAF by 34-57%; most of what LOCMAF still allocates is in locmaf.EncodeCanonical.

The SHA-256 of all 72,800 objects of groups 0-2, 9-11 and 1234567 of every track, for both schemes, batches 1 and 3, and captions on and off, is identical to main.

13 of 17 new or added lines in 2 files covered. (76.47%)

3 existing lines in 2 files now uncovered.

3488 of 6081 relevant lines covered (57.36%)

1324.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
77.35
-0.26% internal/asset.go
2
75.0
-1.14% internal/moqgroup.go

Coverage Regressions

Lines Coverage ∆ File
2
86.8
-0.66% internal/relay/relay.go
1
57.53
-0.68% internal/relay/forward.go
Jobs
ID Job ID Ran Files Coverage
1 39856472231.1 22 Oct 2026 09:21PM UTC 40
57.36
GitHub Action Run
Source Files on build 39856472231
  • Tree
  • List 40
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8e725c77 on github
  • Prev Build on main (#39821472565)
  • Next Build on main (#39901893284)
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