aio-libs
/
yarl
Blog
Docs
Overview
Branches
Benchmarks
Runs
Small cleanups to `encode_url`
(
#1405
)
Merged
Comparing
encode_url_cleanups
(
aaa3dd8
) with
master
(
979e06a
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
83
NEW
0
DROPPED
0
IGNORED
1
Benchmarks
Passed
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
+3%
81 µs
78.6 µs
test_update_query_mapping
tests/test_url_benchmarks.py::test_update_query_mapping
+3%
911.3 µs
885.1 µs
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
+1%
496.2 µs
492.1 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
+1%
617.7 µs
613.2 µs
test_url_with_path_parent
tests/test_url_benchmarks.py::test_url_with_path_parent
+1%
439.3 µs
436.2 µs
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
+1%
1 ms
1 ms
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
0%
437.2 µs
435.4 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
0%
501.3 µs
499.3 µs
test_url_build_no_netloc_relative
tests/test_url_benchmarks.py::test_url_build_no_netloc_relative
0%
351.5 µs
350.3 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
0%
407 µs
405.6 µs
test_update_query_empty
tests/test_url_benchmarks.py::test_update_query_empty
0%
94.5 µs
94.2 µs
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
0%
298.8 µs
297.9 µs
test_url_build_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_path_and_port
0%
530.9 µs
529.3 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
0%
885 µs
882.5 µs
test_url_build_no_netloc
tests/test_url_benchmarks.py::test_url_build_no_netloc
0%
353.7 µs
352.7 µs
test_url_with_name
tests/test_url_benchmarks.py::test_url_with_name
0%
457.5 µs
456.3 µs
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
0%
445.5 µs
444.6 µs
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
0%
80.4 µs
80.3 µs
test_update_query_none
tests/test_url_benchmarks.py::test_update_query_none
0%
90.3 µs
90.1 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
0%
747.7 µs
746.5 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
0%
685.6 µs
684.5 µs
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
0%
73.6 µs
73.5 µs
test_update_query_sequence_mapping
tests/test_url_benchmarks.py::test_update_query_sequence_mapping
0%
3.5 ms
3.5 ms
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
0%
308.3 µs
307.9 µs
test_url_make_encoded_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_encoded_with_host_path_and_port
0%
188 µs
187.7 µs
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
0%
434.2 µs
433.7 µs
test_unquoter_short
tests/test_quoting_benchmarks.py::test_unquoter_short
0%
125.9 µs
125.7 µs
test_url_build_with_simple_query
tests/test_url_benchmarks.py::test_url_build_with_simple_query
0%
2.3 ms
2.3 ms
test_url_make_with_ipv6_address_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_path_and_port
0%
138.5 µs
138.4 µs
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
0%
193.1 µs
192.9 µs
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
0%
167.4 µs
167.3 µs
test_with_query_mapping_int_values
tests/test_url_benchmarks.py::test_with_query_mapping_int_values
0%
906.5 µs
906 µs
test_url_extend_query_existing_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_simple_query_dict
0%
595 µs
594.7 µs
test_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_with_query_sequence_mapping
0%
3.2 ms
3.2 ms
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
0%
166.8 µs
166.7 µs
test_is_default_port
tests/test_url_benchmarks.py::test_is_default_port
0%
178.5 µs
178.4 µs
test_with_query_none
tests/test_url_benchmarks.py::test_with_query_none
0%
107.7 µs
107.6 µs
test_human_repr
tests/test_url_benchmarks.py::test_human_repr
0%
10.4 ms
10.4 ms
test_url_make_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_host_path_and_port
0%
138.5 µs
138.5 µs
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
0%
604.9 µs
604.8 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
0%
265 µs
264.9 µs
test_long_query_with_pct
tests/test_quoting_benchmarks.py::test_long_query_with_pct
0%
9.7 ms
9.7 ms
test_quote_long_path
tests/test_quoting_benchmarks.py::test_quote_long_path
0%
1.8 ms
1.8 ms
test_long_query
tests/test_quoting_benchmarks.py::test_long_query
0%
2.2 ms
2.2 ms
test_url_make_with_ipv6_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_and_path
0%
138.6 µs
138.6 µs
test_query
tests/test_url_benchmarks.py::test_query
0%
46.9 µs
46.9 µs
test_url_make_empty_username
tests/test_url_benchmarks.py::test_url_make_empty_username
0%
139.9 µs
139.9 µs
test_quote_query_string
tests/test_quoting_benchmarks.py::test_quote_query_string
0%
148 µs
148 µs
test_url_make_no_netloc
tests/test_url_benchmarks.py::test_url_make_no_netloc
0%
138.6 µs
138.6 µs
test_url_make_with_ipv4_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv4_address_and_path
0%
138.5 µs
138.5 µs
test_with_query_empty
tests/test_url_benchmarks.py::test_with_query_empty
0%
112.3 µs
112.3 µs
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
0%
145.3 µs
145.3 µs
test_url_make_no_netloc_relative
tests/test_url_benchmarks.py::test_url_make_no_netloc_relative
0%
138.5 µs
138.5 µs
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py::test_quoter_quote_utf8
0%
393.4 µs
393.4 µs
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
0%
244.8 µs
244.9 µs
test_extend_query_subclassed_str
tests/test_url_benchmarks.py::test_extend_query_subclassed_str
0%
901 µs
901.1 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
0%
139 µs
139 µs
test_url_equality
tests/test_url_benchmarks.py::test_url_equality
0%
310.6 µs
310.7 µs
test_url_make_access_raw_host
tests/test_url_benchmarks.py::test_url_make_access_raw_host
0%
167.7 µs
167.8 µs
test_with_query_mapping
tests/test_url_benchmarks.py::test_with_query_mapping
0%
574.1 µs
574.3 µs
test_url_make_empty_password
tests/test_url_benchmarks.py::test_url_make_empty_password
0%
138.5 µs
138.6 µs
test_url_make_with_ipv4_address_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_ipv4_address_path_and_port
0%
139.6 µs
139.6 µs
test_empty_query
tests/test_url_benchmarks.py::test_empty_query
0%
46.7 µs
46.7 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_simple_query_dict
0%
572.5 µs
573.1 µs
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
0%
552.3 µs
553.2 µs
test_url_hash
tests/test_url_benchmarks.py::test_url_hash
0%
193.2 µs
193.5 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_string
0%
153.4 µs
153.7 µs
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
0%
231.5 µs
232 µs
test_url_host_port_subcomponent
tests/test_url_benchmarks.py::test_url_host_port_subcomponent
0%
462.1 µs
463.1 µs
test_url_build_encoded_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_encoded_with_host_and_port
0%
398.5 µs
399.5 µs
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
0%
300.2 µs
301 µs
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
0%
265.5 µs
266.4 µs
test_unquoter_long_pct
tests/test_quoting_benchmarks.py::test_unquoter_long_pct
0%
6.9 ms
7 ms
test_url_join
tests/test_url_benchmarks.py::test_url_join
0%
259.9 µs
261.2 µs
test_url_make_with_many_ipv6_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv6_hosts
-1%
4.5 ms
4.5 ms
test_raw_host_empty_cache
tests/test_url_benchmarks.py::test_raw_host_empty_cache
-1%
237.9 µs
239.4 µs
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py::test_unquoter_long_ascii
-1%
4.3 ms
4.4 ms
test_url_origin_with_user_pass
tests/test_url_benchmarks.py::test_url_origin_with_user_pass
-1%
80.5 µs
81.1 µs
test_update_query_string
tests/test_url_benchmarks.py::test_update_query_string
-1%
681.6 µs
687.1 µs
test_url_make_with_many_ipv4_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv4_hosts
-1%
3.3 ms
3.3 ms
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
-1%
3.3 ms
3.4 ms
test_empty_query_string
tests/test_url_benchmarks.py::test_empty_query_string
-1%
46.4 µs
47.1 µs
test_query_string
tests/test_url_benchmarks.py::test_query_string
-2%
46.8 µs
47.6 µs
Ignored
test_update_query_mapping_with_existing_query
Ignored
tests/test_url_benchmarks.py::test_update_query_mapping_with_existing_query
+8%
1.2 ms
1.1 ms
Commits
Click on a commit to change the comparison range
base
master
979e06a
0%
Small cleanups to encode_url - Avoid useless assignments - Combine nested if statements
3d44fc4
9 days ago
by bdraco
0%
increase coverage
aaa3dd8
9 days ago
by bdraco
Resources
Home
Pricing
Docs
Blog
GitHub
Changelog
Getting Started
Sample repository
Explore repositories
Support
About
Careers
Twitter
Discord
Contact Us
Terms of Service
Privacy Policy
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.