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

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

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2026 02:21PM UTC
Files 14
Run time 4s
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: 96.968%. First build
42489080506.18

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>

1113 of 1158 branches covered (96.11%)

1631 of 1682 relevant lines covered (96.97%)

922.22 hits per line

Source Files on job 92ab4cc819e17b37c570d255fea2a23a (Node.js 16 x64 on macOS-latest) - 42489080506.18
  • Tree
  • List 14
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
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