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

Transform http-parser and http-writer with the new Multidict-CAPI

#11320
Comparing
Vizonex:Vizonex-playground-multidict-capi
(
9463589
) with
master
(
281479a
)
CodSpeed Performance Gauge
+34%
Improvement
1
Untouched
58
Ignored
7

Benchmarks

66 total
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
+34%
851.8 µs634.6 µs
test_send_client_request_one_hundred[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+6%
2.6 ms2.4 ms
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
32.7 ms32 ms
test_one_hundred_simple_get_requests_multiple_methods_route[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
32.4 ms31.7 ms
test_one_hundred_simple_get_requests_alternating_clients[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
33.3 ms32.6 ms
test_resolve_root_route_with_many_fixed_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+2%
891.3 µs874 µs
test_one_hundred_json_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
38.3 ms37.5 ms
test_one_hundred_get_requests_with_1024_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
34.8 ms34.1 ms
test_simple_web_file_sendfile_fallback_response[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+2%
85.3 ms83.8 ms
test_ten_web_middlewares[pyloop]
tests/test_benchmarks_web_middleware.py
CodSpeed Performance Gauge
+2%
35.3 ms34.7 ms
test_one_hundred_simple_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
36.4 ms35.8 ms
test_one_hundred_get_requests_with_1024_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
35.1 ms34.5 ms
test_one_hundred_get_requests_with_30000_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
40.1 ms39.5 ms
test_one_hundred_get_requests_with_30000_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
40.3 ms39.7 ms
test_simple_web_file_response_not_modified[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+1%
55.1 ms54.3 ms
test_resolve_static_root_route[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
986.3 µs972.9 µs
test_simple_web_file_response[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+1%
78.3 ms77.2 ms
test_resolve_gitapi_root[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
2 ms2 ms
test_resolve_dynamic_resource_url_with_many_dynamic_routes_with_common_prefix[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
247.3 ms244.8 ms
test_get_request_with_251308_compressed_chunked_payload[isal.isal_zlib-pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
65.4 ms64.7 ms
test_resolve_multiple_level_fixed_url_with_many_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
8.5 ms8.4 ms
test_resolve_root_route[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
884.5 µs875.9 µs
test_resolve_prefix_resources_many_prefix_many_plain[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
4.6 ms4.6 ms
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
122.7 µs121.6 µs
test_resolve_multiple_fixed_url_with_many_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
2.2 ms2.2 ms

Commits

Click on a commit to change the comparison range
Base
master
281479a
-76.63%
spelling mistake fix
2c9a78f
8 months ago
by Vizonex
+1.05%
Merge branch 'master' into Vizonex-playground-multidict-capi
b1f3c42
8 months ago
by Vizonex
×2.1
revert for now lets focus on the http_writer first
4103a7a
8 months ago
by Vizonex
-0.02%
fix http-parser with updated Multidict-CAPI Fixes
083b465
8 months ago
by Vizonex
+0.01%
revert req/resp objects we can deal with fixing these later...
3506136
8 months ago
by Vizonex
+2.44%
mypy changes
a7190b0
8 months ago
by Vizonex
-0.03%
Remove 1 comment and optimize extend() function and add CIMultidictProxy to more arguments instead of object type
610eec7
7 months ago
by Vizonex
-0.85%
Merge branch 'master' into Vizonex-playground-multidict-capi
75b177a
7 months ago
by Vizonex
-0.95%
Merge branch 'aio-libs:master' into Vizonex-playground-multidict-capi
89151a1
7 months ago
by Vizonex
-0.1%
Merge branch 'aio-libs:master' into Vizonex-playground-multidict-capi
ab3c096
7 months ago
by Vizonex
-0.08%
[pre-commit.ci] auto fixes from pre-commit.com hooks
b8e5a91
6 months ago
by pre-commit-ci[bot]
-1.18%
Merge branch 'aio-libs:master' into Vizonex-playground-multidict-capi
9463589
5 months ago
by Vizonex
© 2026 CodSpeed Technology
Home Terms Privacy Docs