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

Add compiler directives to pyproject.toml

#1528
Comparing
lysnikolaou:add-cython-directives-pyproject
(
c7c5718
) with
master
(
3871d2c
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
101
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_empty_path_safe
tests/test_url_benchmarks.py::test_empty_path_safe
CodSpeed Performance Gauge
+5%
52.7 µs
50.2 µs
test_url_hash
tests/test_url_benchmarks.py::test_url_hash
CodSpeed Performance Gauge
+3%
186.6 µs
181.2 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
CodSpeed Performance Gauge
+3%
475.1 µs
463.4 µs
test_url_host_port_subcomponent
tests/test_url_benchmarks.py::test_url_host_port_subcomponent
CodSpeed Performance Gauge
+2%
448.5 µs
438.1 µs
test_with_query_empty
tests/test_url_benchmarks.py::test_with_query_empty
CodSpeed Performance Gauge
+2%
102.5 µs
100.2 µs
test_url_build_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_path_and_port
CodSpeed Performance Gauge
+2%
528.4 µs
516.8 µs
test_empty_path
tests/test_url_benchmarks.py::test_empty_path
CodSpeed Performance Gauge
+2%
51.4 µs
50.3 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
CodSpeed Performance Gauge
+2%
819.1 µs
802.3 µs
test_with_query_none
tests/test_url_benchmarks.py::test_with_query_none
CodSpeed Performance Gauge
+2%
97.9 µs
96 µs
test_url_with_path_parent
tests/test_url_benchmarks.py::test_url_with_path_parent
CodSpeed Performance Gauge
+2%
307.4 µs
301.7 µs
test_url_joinpath
tests/test_url_benchmarks.py::test_url_joinpath
CodSpeed Performance Gauge
+2%
632.7 µs
621.2 µs
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
CodSpeed Performance Gauge
+2%
164 µs
161 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
CodSpeed Performance Gauge
+2%
678.1 µs
666.1 µs
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
CodSpeed Performance Gauge
+2%
1,003.9 µs
986.4 µs
test_url_with_name
tests/test_url_benchmarks.py::test_url_with_name
CodSpeed Performance Gauge
+2%
533.5 µs
524.5 µs
test_url_build_encoded_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_encoded_with_host_and_port
CodSpeed Performance Gauge
+2%
263.9 µs
259.7 µs
test_url_make_with_many_ipv6_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv6_hosts
CodSpeed Performance Gauge
+2%
4.3 ms
4.3 ms
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
CodSpeed Performance Gauge
+2%
3.2 ms
3.2 ms
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
CodSpeed Performance Gauge
+1%
188.3 µs
185.6 µs
test_update_query_none
tests/test_url_benchmarks.py::test_update_query_none
CodSpeed Performance Gauge
+1%
80.3 µs
79.1 µs
test_raw_host_empty_cache
tests/test_url_benchmarks.py::test_raw_host_empty_cache
CodSpeed Performance Gauge
+1%
232.8 µs
229.6 µs
test_url_make_with_many_ipv4_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv4_hosts
CodSpeed Performance Gauge
+1%
3.2 ms
3.2 ms
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
CodSpeed Performance Gauge
+1%
598.9 µs
591.1 µs
test_raw_path_qs_with_query
tests/test_url_benchmarks.py::test_raw_path_qs_with_query
CodSpeed Performance Gauge
+1%
52.6 µs
51.9 µs
test_update_query_empty
tests/test_url_benchmarks.py::test_update_query_empty
CodSpeed Performance Gauge
+1%
84.1 µs
83 µs
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
CodSpeed Performance Gauge
+1%
652.8 µs
644.5 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_string
CodSpeed Performance Gauge
+1%
175.4 µs
173.2 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
CodSpeed Performance Gauge
+1%
395.7 µs
390.8 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
CodSpeed Performance Gauge
+1%
496.6 µs
490.5 µs
test_human_repr
tests/test_url_benchmarks.py::test_human_repr
CodSpeed Performance Gauge
+1%
10.3 ms
10.2 ms
test_parse_query_uncached[long]
tests/test_url_benchmarks.py::test_parse_query_uncached[long]
CodSpeed Performance Gauge
+1%
23.6 ms
23.3 ms
test_empty_query
tests/test_url_benchmarks.py::test_empty_query
CodSpeed Performance Gauge
+1%
45.7 µs
45.2 µs
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
CodSpeed Performance Gauge
+1%
120 µs
118.7 µs
test_url_make_encoded_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_encoded_with_host_path_and_port
CodSpeed Performance Gauge
+1%
187.2 µs
185.2 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
CodSpeed Performance Gauge
+1%
215.6 µs
213.3 µs
test_url_make_empty_password
tests/test_url_benchmarks.py::test_url_make_empty_password
CodSpeed Performance Gauge
+1%
136 µs
134.6 µs
test_url_make_with_ipv4_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv4_address_and_path
CodSpeed Performance Gauge
+1%
135.4 µs
133.9 µs
test_url_make_no_netloc_relative
tests/test_url_benchmarks.py::test_url_make_no_netloc_relative
CodSpeed Performance Gauge
+1%
135.4 µs
134 µs
test_url_make_with_ipv6_address_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_path_and_port
CodSpeed Performance Gauge
+1%
135.5 µs
134.1 µs
test_url_make_no_netloc
tests/test_url_benchmarks.py::test_url_make_no_netloc
CodSpeed Performance Gauge
+1%
135.7 µs
134.3 µs
test_unquoter_short
tests/test_quoting_benchmarks.py::test_unquoter_short
CodSpeed Performance Gauge
+1%
227.3 µs
225 µs
test_empty_path_uncached
tests/test_url_benchmarks.py::test_empty_path_uncached
CodSpeed Performance Gauge
+1%
84.6 µs
83.8 µs
test_url_make_with_ipv6_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_and_path
CodSpeed Performance Gauge
+1%
135.5 µs
134.2 µs
test_url_make_empty_username
tests/test_url_benchmarks.py::test_url_make_empty_username
CodSpeed Performance Gauge
+1%
136.7 µs
135.4 µs
test_url_build_no_netloc
tests/test_url_benchmarks.py::test_url_build_no_netloc
CodSpeed Performance Gauge
+1%
550.4 µs
545 µs
test_url_make_access_raw_host
tests/test_url_benchmarks.py::test_url_make_access_raw_host
CodSpeed Performance Gauge
+1%
163.7 µs
162.1 µs
test_url_make_with_ipv4_address_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_ipv4_address_path_and_port
CodSpeed Performance Gauge
+1%
136.7 µs
135.4 µs
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
CodSpeed Performance Gauge
+1%
76.5 µs
75.8 µs
test_path_safe_uncached
tests/test_url_benchmarks.py::test_path_safe_uncached
CodSpeed Performance Gauge
+1%
287.7 µs
285 µs
test_raw_path_qs_with_query_uncached
tests/test_url_benchmarks.py::test_raw_path_qs_with_query_uncached
CodSpeed Performance Gauge
+1%
116.3 µs
115.2 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
CodSpeed Performance Gauge
+1%
135.4 µs
134.1 µs
test_url_build_no_netloc_relative
tests/test_url_benchmarks.py::test_url_build_no_netloc_relative
CodSpeed Performance Gauge
+1%
530.6 µs
525.7 µs
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
CodSpeed Performance Gauge
+1%
251.3 µs
249 µs
test_empty_path_safe_uncached
tests/test_url_benchmarks.py::test_empty_path_safe_uncached
CodSpeed Performance Gauge
+1%
84.6 µs
83.8 µs
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
CodSpeed Performance Gauge
+1%
165.6 µs
164 µs
test_raw_path_qs
tests/test_url_benchmarks.py::test_raw_path_qs
CodSpeed Performance Gauge
+1%
52.3 µs
51.9 µs
test_query_string
tests/test_url_benchmarks.py::test_query_string
CodSpeed Performance Gauge
+1%
46.4 µs
45.9 µs
test_parse_query_uncached[short]
tests/test_url_benchmarks.py::test_parse_query_uncached[short]
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
test_url_make_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_host_path_and_port
CodSpeed Performance Gauge
+1%
135.3 µs
134.1 µs
test_empty_query_string_uncached
tests/test_url_benchmarks.py::test_empty_query_string_uncached
CodSpeed Performance Gauge
+1%
75.6 µs
74.9 µs
test_empty_raw_path_qs
tests/test_url_benchmarks.py::test_empty_raw_path_qs
CodSpeed Performance Gauge
+1%
51.5 µs
51.1 µs
test_raw_path_qs_uncached
tests/test_url_benchmarks.py::test_raw_path_qs_uncached
CodSpeed Performance Gauge
+1%
87.7 µs
86.9 µs
test_is_default_port
tests/test_url_benchmarks.py::test_is_default_port
CodSpeed Performance Gauge
+1%
165 µs
163.6 µs
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
CodSpeed Performance Gauge
+1%
200.2 µs
198.6 µs
test_update_query_mapping
tests/test_url_benchmarks.py::test_update_query_mapping
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
test_empty_query_string
tests/test_url_benchmarks.py::test_empty_query_string
CodSpeed Performance Gauge
+1%
46.1 µs
45.7 µs
test_url_origin_with_user_pass
tests/test_url_benchmarks.py::test_url_origin_with_user_pass
CodSpeed Performance Gauge
+1%
78 µs
77.4 µs
test_empty_raw_path_qs_uncached
tests/test_url_benchmarks.py::test_empty_raw_path_qs_uncached
CodSpeed Performance Gauge
+1%
90 µs
89.4 µs
test_update_query_mapping_with_existing_query
tests/test_url_benchmarks.py::test_update_query_mapping_with_existing_query
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
test_query
tests/test_url_benchmarks.py::test_query
CodSpeed Performance Gauge
+1%
45.6 µs
45.3 µs
test_update_query_sequence_mapping
tests/test_url_benchmarks.py::test_update_query_sequence_mapping
CodSpeed Performance Gauge
+1%
5.9 ms
5.9 ms
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
CodSpeed Performance Gauge
+1%
78.3 µs
77.8 µs
test_url_equality
tests/test_url_benchmarks.py::test_url_equality
CodSpeed Performance Gauge
+1%
305.7 µs
303.7 µs
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
CodSpeed Performance Gauge
+1%
303.2 µs
301.2 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
CodSpeed Performance Gauge
+1%
705.5 µs
700.8 µs
test_url_extend_query_existing_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_simple_query_dict
CodSpeed Performance Gauge
+1%
840.7 µs
835.7 µs
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
CodSpeed Performance Gauge
+1%
205.2 µs
204 µs
test_with_query_mapping
tests/test_url_benchmarks.py::test_with_query_mapping
CodSpeed Performance Gauge
+1%
818.8 µs
814.4 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_simple_query_dict
CodSpeed Performance Gauge
+1%
819.7 µs
815.2 µs
test_update_query_string
tests/test_url_benchmarks.py::test_update_query_string
CodSpeed Performance Gauge
+1%
662 µs
658.5 µs
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
CodSpeed Performance Gauge
+1%
455.2 µs
452.8 µs
test_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_with_query_sequence_mapping
CodSpeed Performance Gauge
+1%
5.6 ms
5.6 ms
test_quote_query_string
tests/test_quoting_benchmarks.py::test_quote_query_string
CodSpeed Performance Gauge
0%
630.2 µs
627.3 µs
test_long_query_with_pct
tests/test_quoting_benchmarks.py::test_long_query_with_pct
CodSpeed Performance Gauge
0%
41.4 ms
41.2 ms
test_url_joinpath_encoded_long
tests/test_url_benchmarks.py::test_url_joinpath_encoded_long
CodSpeed Performance Gauge
0%
859.2 µs
855.4 µs
test_quote_long_path
tests/test_quoting_benchmarks.py::test_quote_long_path
CodSpeed Performance Gauge
0%
10.9 ms
10.9 ms
test_long_query
tests/test_quoting_benchmarks.py::test_long_query
CodSpeed Performance Gauge
0%
13.3 ms
13.2 ms
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
CodSpeed Performance Gauge
0%
317.6 µs
316.3 µs
test_url_build_with_simple_query
tests/test_url_benchmarks.py::test_url_build_with_simple_query
CodSpeed Performance Gauge
0%
3.4 ms
3.3 ms
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py::test_quoter_quote_utf8
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
test_extend_query_subclassed_str
tests/test_url_benchmarks.py::test_extend_query_subclassed_str
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
CodSpeed Performance Gauge
0%
400.1 µs
398.7 µs
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
CodSpeed Performance Gauge
0%
162.2 µs
161.7 µs
test_unquoter_long_pct
tests/test_quoting_benchmarks.py::test_unquoter_long_pct
CodSpeed Performance Gauge
0%
15.4 ms
15.4 ms
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
CodSpeed Performance Gauge
0%
484.3 µs
483.4 µs
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
CodSpeed Performance Gauge
0%
299.4 µs
298.9 µs
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py::test_unquoter_long_ascii
CodSpeed Performance Gauge
0%
12.3 ms
12.3 ms
test_url_join
tests/test_url_benchmarks.py::test_url_join
CodSpeed Performance Gauge
0%
192.2 µs
192.1 µs
test_with_query_mapping_int_values
tests/test_url_benchmarks.py::test_with_query_mapping_int_values
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
CodSpeed Performance Gauge
0%
353.7 µs
354 µs
test_path_safe
tests/test_url_benchmarks.py::test_path_safe
CodSpeed Performance Gauge
-2%
53 µs
54.4 µs

Commits

Click on a commit to change the comparison range
Base
master
3871d2c
+1%
Add compiler directives to pyproject.toml
c7c5718
4 days ago
by lysnikolaou
© 2025 CodSpeed Technology
Home Terms Privacy Docs