Skip to content

[PR #13561/148205f2 backport][3.15] Add masked WebSocket read benchmarks and fix read benchmark backpressure - #13564

Merged
bdraco merged 1 commit into
aio-libs:3.15from
bdraco:patchback/backports/3.15/148205f2fdc477ad3e4de0439d817b2a495ccf1e/pr-13561
Aug 28, 2026
Merged

[PR #13561/148205f2 backport][3.15] Add masked WebSocket read benchmarks and fix read benchmark backpressure#13564
bdraco merged 1 commit into
aio-libs:3.15from
bdraco:patchback/backports/3.15/148205f2fdc477ad3e4de0439d817b2a495ccf1e/pr-13561

Add masked WebSocket read benchmarks and fix read benchmark backpress…

c326ee8
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Aug 28, 2026 in 0s

Acknowledged Regression: -94.93%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 2 (👁 2) regressed benchmarks
✅ 90 untouched benchmarks
🆕 2 new benchmarks
⏩ 86 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 test_read_one_hundred_masked_large_binary_websocket_messages[pyloop] N/A 60.1 ms N/A
🆕 test_read_one_hundred_masked_websocket_text_messages[pyloop] N/A 681.3 µs N/A
👁 test_read_one_hundred_websocket_text_messages[pyloop] 475.3 µs 595.7 µs -20.21%
👁 test_read_large_binary_websocket_messages[pyloop] 100.5 µs 31,131.3 µs -99.68%

Comparing bdraco:patchback/backports/3.15/148205f2fdc477ad3e4de0439d817b2a495ccf1e/pr-13561 (c326ee8) with 3.15 (3aed27f)

Open in CodSpeed

Footnotes

  1. 86 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.