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

Simplify processing of username and password for unencoded URLs

#1268Merged
Comparing
user_pass_logic
(
8da4b67
) with
master
(
affe81c
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
50
New
0
Dropped
0
Ignored
1

Benchmarks

Passed

test_url_make_empty_password
tests/test_url_benchmarks.py::test_url_make_empty_password
CodSpeed Performance Gauge
+4%
979.7 µs
944.5 µs
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
CodSpeed Performance Gauge
+1%
1 ms
1 ms
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
CodSpeed Performance Gauge
+1%
945.5 µs
938.5 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
CodSpeed Performance Gauge
+1%
808.4 µs
803.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
+1%
860.5 µs
855.9 µs
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
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%
1.1 ms
1.1 ms
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.7 µs
847.2 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
CodSpeed Performance Gauge
0%
1.6 ms
1.5 ms
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%
1.1 ms
1.1 ms
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
CodSpeed Performance Gauge
0%
314.7 µs
314 µs
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
CodSpeed Performance Gauge
0%
977.6 µs
976 µs
test_url_make_with_int_query_mapping
tests/test_url_benchmarks.py::test_url_make_with_int_query_mapping
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
CodSpeed Performance Gauge
0%
141.2 µs
141.2 µs
test_url_make_empty_username
tests/test_url_benchmarks.py::test_url_make_empty_username
CodSpeed Performance Gauge
0%
978.4 µs
978.1 µs
test_url_join
tests/test_url_benchmarks.py::test_url_join
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
CodSpeed Performance Gauge
0%
86.6 µs
86.6 µs
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
CodSpeed Performance Gauge
0%
145.5 µs
145.5 µs
test_is_default_port
tests/test_url_benchmarks.py::test_is_default_port
CodSpeed Performance Gauge
0%
188.1 µs
188.1 µs
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
CodSpeed Performance Gauge
0%
961.3 µs
961.3 µs
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
CodSpeed Performance Gauge
0%
724.7 µs
724.8 µs
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
CodSpeed Performance Gauge
0%
6.7 ms
6.7 ms
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
CodSpeed Performance Gauge
0%
847 µs
847.4 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
CodSpeed Performance Gauge
0%
368.9 µs
369 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
CodSpeed Performance Gauge
0%
316.3 µs
316.5 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_simple_query_dict
CodSpeed Performance Gauge
0%
821.8 µs
822.3 µ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%
648.1 µs
648.6 µs
test_url_make_with_query_mapping
tests/test_url_benchmarks.py::test_url_make_with_query_mapping
CodSpeed Performance Gauge
0%
818.1 µs
818.7 µs
test_unquoter
tests/test_quoting_benchmarks.py::test_unquoter
CodSpeed Performance Gauge
0%
170.2 µs
170.4 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_string
CodSpeed Performance Gauge
0%
350.8 µs
351.2 µs
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
CodSpeed Performance Gauge
0%
739.4 µs
740.3 µs
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
CodSpeed Performance Gauge
0%
86.5 µs
86.7 µs
test_url_make_access_raw_host
tests/test_url_benchmarks.py::test_url_make_access_raw_host
CodSpeed Performance Gauge
0%
879.2 µs
881.8 µs
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
CodSpeed Performance Gauge
0%
905.3 µs
907.9 µ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%
1 ms
1 ms
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%
317.4 µs
318.6 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
CodSpeed Performance Gauge
0%
874.5 µs
878.6 µ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%
1.2 ms
1.2 ms
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%
1.2 ms
1.2 ms
test_url_make_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_url_make_with_query_sequence_mapping
CodSpeed Performance Gauge
-3%
4 ms
4.1 ms
test_url_equality
tests/test_url_benchmarks.py::test_url_equality
CodSpeed Performance Gauge
-5%
1.8 ms
1.9 ms

Ignored

test_quoter_quoteIgnored
tests/test_quoting_benchmarks.py::test_quoter_quote
CodSpeed Performance Gauge
0%
421.8 µs
421.9 µs

Commits

Click on a commit to change the comparison range
Base
master
affe81c
0%
Simplify processing of username and password for unencoded URLs
8da4b67
3 months ago
by bdraco
Home Terms PrivacyDocs