aio-libs
/
yarl
Blog
Docs
Overview
Branches
Benchmarks
Runs
Improve performance of the quoters
(
#1407
)
Closed
Comparing
quoter_perf
(
47a261c
) with
master
(
dfc41db
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
83
NEW
0
DROPPED
0
IGNORED
1
Benchmarks
Passed
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py::test_quoter_quote_utf8
+1%
393.3 µs
389.5 µs
test_update_query_string
tests/test_url_benchmarks.py::test_update_query_string
+1%
685.7 µs
679.8 µs
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
+1%
436.8 µs
433.4 µs
test_url_build_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_path_and_port
+1%
530.1 µs
526.7 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
0%
139.9 µs
139.2 µs
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
0%
1 ms
1 ms
test_url_host_port_subcomponent
tests/test_url_benchmarks.py::test_url_host_port_subcomponent
0%
464.4 µs
463.2 µs
test_url_make_with_many_ipv4_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv4_hosts
0%
3.4 ms
3.4 ms
test_query
tests/test_url_benchmarks.py::test_query
0%
46.9 µs
46.8 µs
test_empty_query_string
tests/test_url_benchmarks.py::test_empty_query_string
0%
47.1 µs
47 µs
test_url_with_path_parent
tests/test_url_benchmarks.py::test_url_with_path_parent
0%
439.5 µs
439.1 µ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.6 µs
595.1 µs
test_url_make_with_many_ipv6_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_ipv6_hosts
0%
4.5 ms
4.5 ms
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
0%
298.9 µs
298.8 µs
test_url_make_empty_username
tests/test_url_benchmarks.py::test_url_make_empty_username
0%
139.9 µs
139.8 µs
test_with_query_mapping
tests/test_url_benchmarks.py::test_with_query_mapping
0%
574.5 µs
574.3 µs
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
0%
78.6 µs
78.6 µs
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
0%
492.3 µs
492.2 µs
test_raw_host_empty_cache
tests/test_url_benchmarks.py::test_raw_host_empty_cache
0%
239 µs
238.9 µs
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
0%
145.1 µs
145.1 µs
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.5 µs
test_long_query_with_pct
tests/test_quoting_benchmarks.py::test_long_query_with_pct
0%
9.7 ms
9.7 ms
test_human_repr
tests/test_url_benchmarks.py::test_human_repr
0%
10.4 ms
10.4 ms
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_no_netloc
tests/test_url_benchmarks.py::test_url_make_no_netloc
0%
138.6 µs
138.6 µs
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
0%
3.4 ms
3.4 ms
test_update_query_empty
tests/test_url_benchmarks.py::test_update_query_empty
0%
94.5 µs
94.5 µs
test_long_query
tests/test_quoting_benchmarks.py::test_long_query
0%
2.2 ms
2.2 ms
test_quote_long_path
tests/test_quoting_benchmarks.py::test_quote_long_path
0%
1.8 ms
1.8 ms
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
0%
300.3 µs
300.3 µs
test_url_hash
tests/test_url_benchmarks.py::test_url_hash
0%
193.5 µs
193.5 µ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_url_equality
tests/test_url_benchmarks.py::test_url_equality
0%
310.6 µs
310.7 µs
test_url_join
tests/test_url_benchmarks.py::test_url_join
0%
261 µs
261.1 µs
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
0%
244.8 µs
244.9 µs
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
0%
266.2 µs
266.3 µs
test_is_default_port
tests/test_url_benchmarks.py::test_is_default_port
0%
178.4 µs
178.4 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
0%
265 µs
265.1 µs
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
0%
167.3 µs
167.4 µs
test_query_string
tests/test_url_benchmarks.py::test_query_string
0%
47.5 µs
47.5 µ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.7 µs
test_url_make_no_netloc_relative
tests/test_url_benchmarks.py::test_url_make_no_netloc_relative
0%
138.5 µs
138.6 µs
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
0%
166.9 µs
167 µ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%
187.7 µs
187.8 µs
test_url_make_with_ipv6_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_and_path
0%
138.4 µ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.6 µs
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.6 µs
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
0%
80.4 µs
80.4 µs
test_url_origin_with_user_pass
tests/test_url_benchmarks.py::test_url_origin_with_user_pass
0%
81 µs
81.1 µs
test_url_make_empty_password
tests/test_url_benchmarks.py::test_url_make_empty_password
0%
138.4 µs
138.6 µs
test_update_query_none
tests/test_url_benchmarks.py::test_update_query_none
0%
90.4 µs
90.5 µs
test_quote_query_string
tests/test_quoting_benchmarks.py::test_quote_query_string
0%
147.9 µs
148.2 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py::test_url_extend_query_simple_query_dict
0%
573.4 µs
574.3 µs
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
0%
192.9 µs
193.2 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
0%
880.3 µs
881.9 µs
test_with_query_empty
tests/test_url_benchmarks.py::test_with_query_empty
0%
111.8 µs
112 µs
test_url_build_no_netloc
tests/test_url_benchmarks.py::test_url_build_no_netloc
0%
352 µs
352.9 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
0%
406.7 µs
407.7 µs
test_empty_query
tests/test_url_benchmarks.py::test_empty_query
0%
46.7 µs
46.8 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
0%
747.3 µs
749.2 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
0%
686.1 µs
688.4 µs
test_update_query_sequence_mapping
tests/test_url_benchmarks.py::test_update_query_sequence_mapping
0%
3.5 ms
3.5 ms
test_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_with_query_sequence_mapping
0%
3.2 ms
3.2 ms
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
0%
231.3 µs
232.2 µs
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
0%
73.4 µs
73.7 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py::test_url_extend_query_existing_query_string
0%
153.2 µs
153.8 µs
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
0%
308.7 µs
310 µs
test_with_query_none
tests/test_url_benchmarks.py::test_with_query_none
0%
107.4 µs
107.9 µs
test_url_build_encoded_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_encoded_with_host_and_port
0%
396.6 µs
398.5 µs
test_extend_query_subclassed_str
tests/test_url_benchmarks.py::test_extend_query_subclassed_str
-1%
904.2 µs
909.3 µs
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
-1%
602.6 µs
606 µs
test_with_query_mapping_int_values
tests/test_url_benchmarks.py::test_with_query_mapping_int_values
-1%
906.7 µs
911.9 µs
test_url_build_no_netloc_relative
tests/test_url_benchmarks.py::test_url_build_no_netloc_relative
-1%
349.7 µs
351.7 µs
test_url_with_name
tests/test_url_benchmarks.py::test_url_with_name
-1%
457.5 µs
460.3 µs
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
-1%
444.7 µs
447.7 µs
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
-1%
438.1 µs
441 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
-1%
499.1 µs
503.1 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
-1%
611 µs
615.9 µs
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
-1%
551.8 µs
557.3 µs
test_update_query_mapping
tests/test_url_benchmarks.py::test_update_query_mapping
-1%
877.5 µs
886.4 µs
test_unquoter_short
tests/test_quoting_benchmarks.py::test_unquoter_short
-1%
125.8 µs
127.1 µs
test_unquoter_long_pct
tests/test_quoting_benchmarks.py::test_unquoter_long_pct
-3%
6.9 ms
7.1 ms
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py::test_unquoter_long_ascii
-4%
4.3 ms
4.5 ms
Ignored
test_update_query_mapping_with_existing_query
Ignored
tests/test_url_benchmarks.py::test_update_query_mapping_with_existing_query
0%
1.1 ms
1.1 ms
Commits
Click on a commit to change the comparison range
base
master
dfc41db
0%
Improve performance of the quoters same change as https://github.com/aio-libs/aiohttp/pull/9603
47a261c
7 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.