strawberry-graphql
strawberry
BlogDocsChangelog

[WIP] Add websockets support to Sanic

#3903
Comparing
DoctorJohn:add-websockets-support-to-sanic
(
e85a1ba
) with
main
(
758cd0b
)
CodSpeed Performance Gauge
0%
Untouched
21
Ignored
1

Benchmarks

Passed

test_execute_with_10_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
+1%
5.3 ms5.2 ms
test_subscription
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
0%
211.2 ms210.3 ms
test_subscription_long_run[1000]
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
0%
177.7 ms177.2 ms
test_execute_with_many_fields_and_directives
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
42.9 ms42.8 ms
test_execute[with_resolveextension-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
185.8 ms185.3 ms
test_execute_with_many_fields
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
38.1 ms38 ms
test_execute[with_no_extensions-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
638.5 ms637.1 ms
test_execute_generic_input
tests/benchmarks/test_generic_input.py
CodSpeed Performance Gauge
0%
437.5 ms436.6 ms
test_execute[with_resolveextension-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
1.9 s1.9 s
test_execute[with_simpleextension-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
642.4 ms641.2 ms
test_execute_with_100_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
10.9 ms10.9 ms
test_execute_with_1000_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
67.9 ms67.8 ms
test_execute[with_no_extensions-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
68.3 ms68.2 ms
test_subscription_long_run[20000]
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
0%
3.4 s3.4 s
test_execute
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
539.2 ms539.1 ms
test_execute[with_simpleextension-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
68.5 ms68.5 ms
test_execute_complex_schema[50]
tests/benchmarks/test_complex_schema.py
CodSpeed Performance Gauge
0%
4 s4 s
test_interface_performance[256]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
-1%
61.4 ms61.7 ms
test_interface_performance[16]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
-1%
59.2 ms59.6 ms
test_interface_performance[4096]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
-1%
68 ms68.5 ms
test_interface_performance[1]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
-1%
59.1 ms59.7 ms

Ignored

test_execute_basic
tests/benchmarks/test_execute_sync.py
Ignored
CodSpeed Performance Gauge
+8%
2.3 ms2.1 ms

Commits

Click on a commit to change the comparison range
Base
main
758cd0b
+0.02%
WIP test client does not work the native sanic test client appears to be useless for testing websockets. they claim sanic apps can be run as asgi apps, but that changes the whole interface for websocket objects and breaks everything. nice
e85a1ba
5 months ago
by DoctorJohn
© 2025 CodSpeed Technology
Home Terms Privacy Docs