We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e083d commit 66378e1Copy full SHA for 66378e1
1 file changed
ChangeLog.md
@@ -1,6 +1,13 @@
1
## Changes between 2.7.0 and 2.8.0 (unreleased)
2
3
-No changes yet.
+### Performance Improvements in Frame Decoding and Encoding
4
+
5
+Replacing `x == nil` with `x.nil?` in the frame layer hot path yields a
6
+consistent **+15–18% throughput improvement** in `Frame.decode_header`
7
+(called on every received frame) and **+12–14%** in `HeartbeatFrame.encode`,
8
+across Ruby 3.3, 3.4, and 4.0.
9
10
+See benchmarks/BENCHMARKS.md for instructions on how to reproduce these numbers on your machine.
11
12
13
## Changes between 2.6.0 and 2.7.0 (Mar 31, 2026)
0 commit comments