Avatar for the aio-libs user
aio-libs
aiohttp
BlogDocsChangelog

Add a PXD only Cython extension for the WebSocket reader to improve performance

#9543Merged
Comparing
websocket_pxd_create
(
2165de1
) with
master
(
dd9a1fd
)
CodSpeed Performance Gauge
×2.1
Improvement
1
Untouched
3

Benchmarks

4 total
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
×2.1
1,295.4 µs624.3 µs
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
596.6 µs596.3 µs
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
0%
210.1 µs210.4 µs
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
-2%
176.3 µs179 µs

Commits

Click on a commit to change the comparison range
Base
master
dd9a1fd
+26.91%
subclass to allow patching
975e80b
1 year ago
by bdraco
+42.27%
more types
4717a06
1 year ago
by bdraco
+19.75%
type cleanups
68acafc
1 year ago
by bdraco
-78.73%
naming
f05f3bf
1 year ago
by bdraco
-8.28%
Merge branch 'master' into websocket_pxd_create
9d9a886
1 year ago
by bdraco
+0.29%
reduce makefile
7fed656
1 year ago
by bdraco
+88.2%
namespace fix
df1e219
1 year ago
by bdraco
+1.43%
reduce opcode type to unsigned int
3697714
1 year ago
by bdraco
-2.39%
lint
54dab0a
1 year ago
by bdraco
+1.49%
fix type
c03fde4
1 year ago
by bdraco
-10.44%
Update aiohttp/_websocket/reader_py.py
55b6ad2
1 year ago
by bdraco
+9.81%
Merge remote-tracking branch 'upstream/websocket_pxd_create' into websocket_pxd_create
4ad464a
1 year ago
by bdraco
+1.36%
no need to convert it since its being packed into a tuple
6432c93
1 year ago
by bdraco
-0.57%
cleanup signature on _feed_data
35100b6
1 year ago
by bdraco
+0.52%
return types
107fb26
1 year ago
by bdraco
-0.99%
type tuple
c1ccb7b
1 year ago
by bdraco
+2.12%
Revert "type tuple"
c30ac29
1 year ago
by bdraco
-0.47%
coverage
4e44c85
1 year ago
by bdraco
+11.47%
use fastcall
3d0dd11
1 year ago
by bdraco
-0.7%
Update aiohttp/_websocket/reader_py.py
5947443
1 year ago
by bdraco
+4.07%
cleanup refs
cc025d3
1 year ago
by bdraco
+0.36%
comments
2165de1
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs