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

sgerrand / ex_req_server_sent_events / 26573765012
100%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 12:09PM 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

28 May 2026 12:08PM UTC coverage: 100.0%. Remained the same
26573765012

push

github

sgerrand
perf(frame): split on multi-pattern delimiters without normalising

split/1 previously rewrote the entire accumulated buffer on every
chunk via String.replace("\r\n", "\n") so it could match a single
"\n\n" delimiter. For a large multi-chunk frame this was O(N²) in
buffer size.

Switch to :binary.split on the set ["\n\n", "\r\n\r\n", "\r\r"]
directly, which removes the whole-buffer rewrite and additionally
recognises bare CR frame delimiters per SSE spec §9.2.4. Returned
frame strings now retain their original line endings; parse/1
already handles all three terminator forms.

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

88 of 88 relevant lines covered (100.0%)

21.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26573765012.1 28 May 2026 12:09PM UTC 5
100.0
GitHub Action Run
Source Files on build 26573765012
  • Tree
  • List 5
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26573765012
  • 926d4a0d on github
  • Prev Build on main (#26568988986)
  • Next Build on main (#26582180087)
  • Delete
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