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

Add the URL subtraction feature

#1538
Comparing
babieiev:url-subtraction
(
fd5e4ee
) with
master
(
c050999
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
101
New
2
Dropped
0
Ignored
0

Benchmarks

New

test_relative_to
tests/test_url_benchmarks.py::test_relative_to
CodSpeed Performance Gauge
N/A
N/A
837.9 µs
test_relative_to_long_urls
tests/test_url_benchmarks.py::test_relative_to_long_urls
CodSpeed Performance Gauge
N/A
N/A
4.5 ms

Passed

test_path_safe
tests/test_url_benchmarks.py::test_path_safe
CodSpeed Performance Gauge
+4%
52.9 µs
50.9 µs
test_update_query_string
tests/test_url_benchmarks.py::test_update_query_string
CodSpeed Performance Gauge
+1%
535.1 µs
527.3 µs
test_raw_path_qs
tests/test_url_benchmarks.py::test_raw_path_qs
CodSpeed Performance Gauge
+1%
52.3 µs
51.6 µs
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
CodSpeed Performance Gauge
+1%
78.3 µs
77.3 µs
test_url_joinpath_encoded_long
tests/test_url_benchmarks.py::test_url_joinpath_encoded_long
CodSpeed Performance Gauge
+1%
854.7 µs
843.9 µs
test_empty_path
tests/test_url_benchmarks.py::test_empty_path
CodSpeed Performance Gauge
+1%
51.2 µs
50.6 µs
test_empty_raw_path_qs
tests/test_url_benchmarks.py::test_empty_raw_path_qs
CodSpeed Performance Gauge
+1%
52.6 µs
52 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
CodSpeed Performance Gauge
+1%
396 µs
392.5 µs
test_empty_path_safe
tests/test_url_benchmarks.py::test_empty_path_safe
CodSpeed Performance Gauge
+1%
50.9 µs
50.5 µs
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
CodSpeed Performance Gauge
0%
254.6 µs
253.6 µs
test_url_with_name
tests/test_url_benchmarks.py::test_url_with_name
CodSpeed Performance Gauge
0%
530.7 µs
528.9 µs
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
CodSpeed Performance Gauge
0%
597.3 µs
595.3 µs
test_update_query_none
tests/test_url_benchmarks.py::test_update_query_none
CodSpeed Performance Gauge
0%
80.6 µs
80.3 µs
test_with_query_empty
tests/test_url_benchmarks.py::test_with_query_empty
CodSpeed Performance Gauge
0%
102.3 µs
102 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
CodSpeed Performance Gauge
0%
813.2 µs
810.9 µs
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_empty_query_string
tests/test_url_benchmarks.py::test_empty_query_string
CodSpeed Performance Gauge
0%
46 µs
45.9 µs
test_url_with_path_parent
tests/test_url_benchmarks.py::test_url_with_path_parent
CodSpeed Performance Gauge
0%
311.2 µs
310.7 µs
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
CodSpeed Performance Gauge
0%
453.5 µs
452.7 µ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
0%
136.7 µs
136.5 µs
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
CodSpeed Performance Gauge
0%
162.5 µs
162.2 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
CodSpeed Performance Gauge
0%
493 µs
492.3 µs
test_query
tests/test_url_benchmarks.py::test_query
CodSpeed Performance Gauge
0%
45.7 µs
45.6 µs
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_empty_raw_path_qs_uncached
tests/test_url_benchmarks.py::test_empty_raw_path_qs_uncached
CodSpeed Performance Gauge
0%
90.5 µs
90.4 µs
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
CodSpeed Performance Gauge
0%
76.4 µs
76.3 µs
test_url_make_no_netloc
tests/test_url_benchmarks.py::test_url_make_no_netloc
CodSpeed Performance Gauge
0%
135.6 µs
135.5 µ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
0%
135.2 µs
135.1 µs
test_with_query_mapping
tests/test_url_benchmarks.py::test_with_query_mapping
CodSpeed Performance Gauge
0%
826.8 µs
825.9 µs
test_url_make_no_netloc_relative
tests/test_url_benchmarks.py::test_url_make_no_netloc_relative
CodSpeed Performance Gauge
0%
135.3 µs
135.1 µs
test_url_hash
tests/test_url_benchmarks.py::test_url_hash
CodSpeed Performance Gauge
0%
186.6 µs
186.5 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_string
CodSpeed Performance Gauge
0%
176 µs
175.8 µs
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
CodSpeed Performance Gauge
0%
163.4 µs
163.2 µs
test_query_string
tests/test_url_benchmarks.py::test_query_string
CodSpeed Performance Gauge
0%
46.3 µs
46.3 µ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
0%
187.2 µs
187.1 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
CodSpeed Performance Gauge
0%
674.1 µs
673.7 µs
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
CodSpeed Performance Gauge
0%
300.3 µs
300.2 µs
test_url_join
tests/test_url_benchmarks.py::test_url_join
CodSpeed Performance Gauge
0%
193.4 µs
193.3 µs
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
CodSpeed Performance Gauge
0%
303.4 µs
303.2 µ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.4 ms
test_url_make_empty_username
tests/test_url_benchmarks.py::test_url_make_empty_username
CodSpeed Performance Gauge
0%
136.6 µs
136.5 µs
test_raw_host_empty_cache
tests/test_url_benchmarks.py::test_raw_host_empty_cache
CodSpeed Performance Gauge
0%
232.6 µs
232.5 µs
test_is_default_port
tests/test_url_benchmarks.py::test_is_default_port
CodSpeed Performance Gauge
0%
164.8 µs
164.8 µs
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
CodSpeed Performance Gauge
0%
187 µs
186.9 µs
test_unquoter_short
tests/test_quoting_benchmarks.py::test_unquoter_short
CodSpeed Performance Gauge
0%
227.2 µs
227.2 µs
test_update_query_empty
tests/test_url_benchmarks.py::test_update_query_empty
CodSpeed Performance Gauge
0%
84.6 µs
84.6 µs
test_update_query_mapping
tests/test_url_benchmarks.py::test_update_query_mapping
CodSpeed Performance Gauge
0%
963.8 µs
963.7 µ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
0%
261.6 µs
261.6 µs
test_human_repr
tests/test_url_benchmarks.py::test_human_repr
CodSpeed Performance Gauge
0%
10.3 ms
10.3 ms
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
CodSpeed Performance Gauge
0%
165.3 µs
165.3 µ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
0%
849.5 µs
849.5 µs
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py::test_quoter_quote_utf8
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
test_long_query_with_pct
tests/test_quoting_benchmarks.py::test_long_query_with_pct
CodSpeed Performance Gauge
0%
41.4 ms
41.4 ms
test_long_query
tests/test_quoting_benchmarks.py::test_long_query
CodSpeed Performance Gauge
0%
13.3 ms
13.3 ms
test_quote_long_path
tests/test_quoting_benchmarks.py::test_quote_long_path
CodSpeed Performance Gauge
0%
10.9 ms
10.9 ms
test_raw_path_qs_uncached
tests/test_url_benchmarks.py::test_raw_path_qs_uncached
CodSpeed Performance Gauge
0%
87.9 µs
87.9 µs
test_url_make_access_raw_host
tests/test_url_benchmarks.py::test_url_make_access_raw_host
CodSpeed Performance Gauge
0%
163.3 µs
163.3 µs
test_parse_query_uncached[long]
tests/test_url_benchmarks.py::test_parse_query_uncached[long]
CodSpeed Performance Gauge
0%
23.8 ms
23.8 ms
test_update_query_sequence_mapping
tests/test_url_benchmarks.py::test_update_query_sequence_mapping
CodSpeed Performance Gauge
0%
5.8 ms
5.8 ms
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
CodSpeed Performance Gauge
0%
201.1 µs
201.1 µs
test_url_make_empty_password
tests/test_url_benchmarks.py::test_url_make_empty_password
CodSpeed Performance Gauge
0%
135.8 µs
135.9 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
CodSpeed Performance Gauge
0%
473.7 µs
473.8 µs
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
CodSpeed Performance Gauge
0%
318.6 µs
318.7 µs
test_url_equality
tests/test_url_benchmarks.py::test_url_equality
CodSpeed Performance Gauge
0%
308.3 µs
308.4 µs
test_path_safe_uncached
tests/test_url_benchmarks.py::test_path_safe_uncached
CodSpeed Performance Gauge
0%
280.7 µs
280.8 µs
test_url_make_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_host_path_and_port
CodSpeed Performance Gauge
0%
135.2 µs
135.3 µ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
0%
135.2 µs
135.2 µs
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
CodSpeed Performance Gauge
0%
492.8 µs
493 µs
test_update_query_mapping_with_existing_query
tests/test_url_benchmarks.py::test_update_query_mapping_with_existing_query
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_empty_query
tests/test_url_benchmarks.py::test_empty_query
CodSpeed Performance Gauge
0%
45.6 µs
45.6 µs
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
CodSpeed Performance Gauge
0%
399.5 µs
399.7 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
CodSpeed Performance Gauge
0%
135.3 µs
135.4 µs
test_unquoter_long_pct
tests/test_quoting_benchmarks.py::test_unquoter_long_pct
CodSpeed Performance Gauge
0%
15.4 ms
15.5 ms
test_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_with_query_sequence_mapping
CodSpeed Performance Gauge
0%
5.6 ms
5.6 ms
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
CodSpeed Performance Gauge
0%
205.1 µs
205.3 µ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_build_no_netloc_relative
tests/test_url_benchmarks.py::test_url_build_no_netloc_relative
CodSpeed Performance Gauge
0%
531.1 µs
531.7 µs
test_url_build_no_netloc
tests/test_url_benchmarks.py::test_url_build_no_netloc
CodSpeed Performance Gauge
0%
550.7 µs
551.2 µs
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
CodSpeed Performance Gauge
0%
120 µs
120.2 µs
test_url_make_with_many_ipv6_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv6_hosts
CodSpeed Performance Gauge
0%
4.3 ms
4.3 ms
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py::test_unquoter_long_ascii
CodSpeed Performance Gauge
0%
12.3 ms
12.3 ms
test_empty_path_safe_uncached
tests/test_url_benchmarks.py::test_empty_path_safe_uncached
CodSpeed Performance Gauge
0%
84.7 µs
84.8 µs
test_quote_query_string
tests/test_quoting_benchmarks.py::test_quote_query_string
CodSpeed Performance Gauge
0%
629.1 µs
630 µs
test_url_make_with_many_ipv4_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv4_hosts
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_raw_path_qs_with_query_uncached
tests/test_url_benchmarks.py::test_raw_path_qs_with_query_uncached
CodSpeed Performance Gauge
0%
116.7 µs
116.8 µs
test_empty_query_string_uncached
tests/test_url_benchmarks.py::test_empty_query_string_uncached
CodSpeed Performance Gauge
0%
75.5 µs
75.7 µs
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
CodSpeed Performance Gauge
0%
648.1 µs
649.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
0%
521.3 µs
522.3 µs
test_empty_path_uncached
tests/test_url_benchmarks.py::test_empty_path_uncached
CodSpeed Performance Gauge
0%
84.8 µs
84.9 µs
test_parse_query_uncached[short]
tests/test_url_benchmarks.py::test_parse_query_uncached[short]
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
CodSpeed Performance Gauge
0%
353.9 µs
354.6 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_simple_query_dict
CodSpeed Performance Gauge
0%
827.8 µs
829.7 µs
test_url_host_port_subcomponent
tests/test_url_benchmarks.py::test_url_host_port_subcomponent
CodSpeed Performance Gauge
0%
448.1 µs
449.2 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
CodSpeed Performance Gauge
0%
700.4 µs
702.6 µs
test_raw_path_qs_with_query
tests/test_url_benchmarks.py::test_raw_path_qs_with_query
CodSpeed Performance Gauge
0%
52.3 µs
52.5 µs
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_with_query_none
tests/test_url_benchmarks.py::test_with_query_none
CodSpeed Performance Gauge
0%
97.7 µs
98.2 µ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
0%
135.3 µs
135.9 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
CodSpeed Performance Gauge
0%
219.1 µs
220.2 µs
test_url_joinpath
tests/test_url_benchmarks.py::test_url_joinpath
CodSpeed Performance Gauge
0%
626.6 µs
629.7 µs
test_url_origin_with_user_pass
tests/test_url_benchmarks.py::test_url_origin_with_user_pass
CodSpeed Performance Gauge
-1%
77.9 µs
79 µs

Commits

Click on a commit to change the comparison range
Base
master
c050999
0%
Add the URL subtraction feature
fd5e4ee
3 days ago
by babieiev
© 2025 CodSpeed Technology
Home Terms Privacy Docs