BlogDocs

Avoid normalizing child paths when there are no dots in the path(#1248)

Merged
Comparing
avoid_normalize_when_making_child_if_no_dot
(
6f6ab95
) with
master
(
9107005
)
+8%
IMPROVEMENTS
3
REGRESSIONS
0
UNTOUCHED
40
NEW
0
DROPPED
0
IGNORED
1

Benchmarks

Improved

test_url_join
tests/test_url_benchmarks.py::test_url_join
+9%
1.2 ms
1.1 ms
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py::test_url_joinpath_with_truediv
+8%
1.9 ms
1.7 ms
test_url_joinpath_encoded
tests/test_url_benchmarks.py::test_url_joinpath_encoded
+8%
1.6 ms
1.5 ms

Passed

test_url_make_with_query_sequence_mapping
tests/test_url_benchmarks.py::test_url_make_with_query_sequence_mapping
+4%
5.2 ms
5 ms
test_url_with_password
tests/test_url_benchmarks.py::test_url_with_password
+2%
1.1 ms
1.1 ms
test_url_build_access_raw_path
tests/test_url_benchmarks.py::test_url_build_access_raw_path
+1%
1.1 ms
1.1 ms
test_url_make_access_raw_host
tests/test_url_benchmarks.py::test_url_make_access_raw_host
+1%
907.2 µs
900.6 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py::test_url_build_access_fragment
+1%
940.9 µs
935.4 µs
test_url_with_fragment
tests/test_url_benchmarks.py::test_url_with_fragment
+1%
884.6 µs
880 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_and_port
0%
1 ms
1 ms
test_url_build_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_build_with_host_path_and_port
0%
858.6 µs
854.7 µs
test_url_build_with_host
tests/test_url_benchmarks.py::test_url_build_with_host
0%
806.7 µs
803 µs
test_url_with_path_relative
tests/test_url_benchmarks.py::test_url_with_path_relative
0%
746.5 µs
743.4 µ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%
1.1 ms
1.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
0%
325 µs
324.1 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py::test_url_build_access_username_password
0%
1.1 ms
1.1 ms
test_url_make_with_host_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_host_path_and_port
0%
1.1 ms
1.1 ms
test_url_make_access_raw_path
tests/test_url_benchmarks.py::test_url_make_access_raw_path
0%
1.1 ms
1.1 ms
test_url_build_with_different_hosts
tests/test_url_benchmarks.py::test_url_build_with_different_hosts
0%
2.6 ms
2.6 ms
test_url_build_access_raw_host
tests/test_url_benchmarks.py::test_url_build_access_raw_host
0%
1.1 ms
1.1 ms
test_quoter_ascii
tests/test_quoting_benchmarks.py::test_quoter_ascii
0%
145.4 µs
145.4 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py::test_url_make_with_host_and_path
0%
868.6 µs
868.6 µs
test_url_make_with_ipv4_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv4_address_and_path
0%
1.1 ms
1.1 ms
test_url_with_path_origin
tests/test_url_benchmarks.py::test_url_with_path_origin
0%
86.4 µs
86.4 µs
test_url_make_access_fragment
tests/test_url_benchmarks.py::test_url_make_access_fragment
0%
994 µs
994.4 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py::test_url_with_path_to_string
0%
314 µs
314.2 µs
test_url_make_with_many_hosts
tests/test_url_benchmarks.py::test_url_make_with_many_hosts
0%
6.7 ms
6.7 ms
test_url_with_query_to_string
tests/test_url_benchmarks.py::test_url_with_query_to_string
0%
380.9 µs
381.3 µs
test_url_make_with_ipv6_address_and_path
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_and_path
0%
1.2 ms
1.2 ms
test_quoter_pct
tests/test_quoting_benchmarks.py::test_quoter_pct
0%
141.1 µs
141.3 µs
test_unquoter
tests/test_quoting_benchmarks.py::test_unquoter
0%
164.6 µs
164.8 µs
test_url_with_path
tests/test_url_benchmarks.py::test_url_with_path
0%
921.4 µs
922.6 µs
test_url_origin
tests/test_url_benchmarks.py::test_url_origin
0%
86.3 µs
86.4 µs
test_url_with_host
tests/test_url_benchmarks.py::test_url_with_host
0%
1.1 ms
1.1 ms
test_url_to_string
tests/test_url_benchmarks.py::test_url_to_string
0%
329.3 µs
330.1 µs
test_url_with_scheme
tests/test_url_benchmarks.py::test_url_with_scheme
0%
758.8 µs
761 µs
test_url_build_encoded_with_host_and_port
tests/test_url_benchmarks.py::test_url_build_encoded_with_host_and_port
0%
637.8 µs
640.1 µs
test_url_make_with_query_mapping
tests/test_url_benchmarks.py::test_url_make_with_query_mapping
0%
1.1 ms
1.1 ms
test_url_extend_query
tests/test_url_benchmarks.py::test_url_extend_query
0%
1.1 ms
1.1 ms
test_url_make_with_ipv6_address_path_and_port
tests/test_url_benchmarks.py::test_url_make_with_ipv6_address_path_and_port
-1%
1.2 ms
1.2 ms
test_url_with_user
tests/test_url_benchmarks.py::test_url_with_user
-1%
1 ms
1 ms
test_url_make_access_username_password
tests/test_url_benchmarks.py::test_url_make_access_username_password
-2%
1.1 ms
1.2 ms
test_url_with_port
tests/test_url_benchmarks.py::test_url_with_port
-2%
976.5 µs
994.3 µs

Ignored

test_quoter_quoteIgnored
tests/test_quoting_benchmarks.py::test_quoter_quote
0%
427.6 µs
427.6 µs

Commits

Click on a commit to change the comparison range
base
master
9107005
0%
Avoid normalizing child paths when there are no dots in the path
18be49c
27 days ago
by bdraco
+14%
add additional tests
339dfca
27 days ago
by bdraco
-6%
Update CHANGES/1248.misc.rst
6f6ab95
27 days ago
by bdraco
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.