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

websockets / ws / 42489080506 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2026 02:21PM UTC
Files 14
Run time 8s
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

08 Nov 2026 02:17PM UTC coverage: 99.287%. First build
42489080506.3

push

github

web-flow
[perf] Do not retain the read buffer via the close reason (#2354)

The close reason is emitted with the `'conclude'` event as a view into
the buffer the stream delivered, and is kept as
`websocket._closeMessage`. Consequently, a closed `WebSocket` that is
still referenced keeps that whole buffer, commonly 64 KiB, alive.

Copy the reason when it is assigned to `websocket._closeMessage`. A
pooled copy would pin the `Buffer` pool the same way, since
`Buffer.poolSize` is 64 KiB on recent Node.js versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1142 of 1158 branches covered (98.62%)

1670 of 1682 relevant lines covered (99.29%)

929.47 hits per line

Source Files on job 545663064ba862f05ecf4f468c86a252 (Node.js 22 x64 on macOS-latest) - 42489080506.3
  • Tree
  • List 14
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 42489080506
  • 3eec2525 on github
  • Next Job for on master (#42490209684.26)
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