Skip to content

Reduce duplication if drainingRead logic

9cd5374
Select commit
Loading
Failed to load commit list.
Merged

Implement drainingRead mechanism for JS-backed streams #5838

Reduce duplication if drainingRead logic
9cd5374
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Jan 13, 2026

Performance Regression: -44.73%

Summary

⚡ 16 improved benchmarks
❌ 19 regressed benchmarks
✅ 105 untouched benchmarks
🆕 19 new benchmarks
⏩ 38 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 DrainingRead_Value_MaxRead_Unlimited N/A 21.4 ms N/A
🆕 Existing_LargeStream_Value N/A 5.2 s N/A
New_Medium_Value 2.8 ms 4.2 ms -31.77%
New_Medium_Value_HWM16K 2.8 ms 2 ms +40.41%
New_Medium_SlowValue 3.4 ms 5.2 ms -34.91%
New_Medium_Timed100us 4.4 ms 6.2 ms -28.77%
New_Small_Byte 2.9 ms 3.5 ms -18.67%
New_Small_Byte_Auto64K 9.2 ms 3.6 ms ×2.6
New_Small_Byte_Auto64K_HWM16K 4.2 ms 1.3 ms ×3.3
New_Small_Byte_HWM16K 1.9 ms 1.3 ms +50.48%
New_Small_IoLatencyByte 4.5 ms 6 ms -25.22%
New_Small_IoLatencyValue 3.5 ms 5.5 ms -35.69%
New_Small_Timed100us 3.6 ms 5.5 ms -35.36%
New_Small_Timed10us 3.6 ms 5.5 ms -35.4%
New_Small_SlowValue 2.5 ms 4.5 ms -44.07%
New_Small_Timed1ms 3.6 ms 5.5 ms -35.12%
New_Tiny_Byte 7 ms 8.7 ms -19.22%
New_Tiny_Value_HWM16K 4.7 ms 2.6 ms +82.39%
New_Tiny_Value 4.7 ms 8.5 ms -44.73%
New_Tiny_Byte_Auto64K 23.3 ms 8.7 ms ×2.7
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Footnotes

  1. 38 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.