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

Eyevinn / hls-m3u8 / 42257904417
94%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 05:02PM UTC
Jobs 1
Files 5
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

06 Nov 2026 05:02PM UTC coverage: 93.718% (+0.6%) from 93.079%
42257904417

push

github

web-flow
perf: decode from io.Reader line by line instead of buffering the whole input

DecodeFrom, DecodeWith and the DecodeFrom methods of MasterPlaylist and
MediaPlaylist no longer read the whole input into a bytes.Buffer before
parsing. They read it line by line through a pooled 64 KiB bufio.Reader,
or directly from the input if it is already a *bufio.Reader or
*bytes.Buffer. Read errors other than io.EOF are still returned, and a
strict-mode syntax error now stops reading at that line.

The new ListType constant UNKNOWN (0) is returned where the playlist
type is not known, such as on read errors. ErrExtM3UAbsent now comes
with the detected type instead of 0.

Compared with before (Apple M4 Pro, benchstat, n=8), memory per decode
drops by about 10% for a small master playlist, 49% for a 32 KB media
playlist and 31% for a 1.2 MB one. Decoding is 2-3% faster for the
small and 32 KB playlists and 35% faster for the 32 KB playlist with 12
parallel decoders, but 5-12% slower for the 1.2 MB playlist with 80k
lines.

Co-authored-by: Torbjörn Einarsson <torbjorn@einarssons.se>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

60 of 63 new or added lines in 1 file covered. (95.24%)

2402 of 2563 relevant lines covered (93.72%)

1.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
89.94
1.5% m3u8/reader.go
Jobs
ID Job ID Ran Files Coverage
1 42257904417.1 06 Nov 2026 05:02PM UTC 5
93.72
GitHub Action Run
Source Files on build 42257904417
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 50041d20 on github
  • Prev Build on main (#37935062519)
  • Next Build on main (#42258537570)
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