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

Mask password in URL.__repr__ for safer debugging output #1629

#1630
Comparing
mbaas038:feature/add-password-masking-in-repr-1629
(
0ac2681
) with
master
(
7829b01
)
CodSpeed Performance Gauge
-15%
Regression
3
Untouched
96
Ignored
2

Benchmarks

101 total
test_url_to_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
-15%
203.8 µs240.8 µs
test_url_with_path_to_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
-15%
217.6 µs255.6 µs
test_url_with_query_to_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
-13%
254.3 µs291.6 µs
test_quote_query_string
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
+1%
74.8 µs74 µs
test_empty_raw_path_qs
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
53.7 µs53.2 µs
test_url_with_host
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
365.4 µs362.3 µs
test_url_build_with_simple_query
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
2.2 ms2.2 ms
test_url_build_access_raw_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
532.4 µs528.9 µs
test_url_make_access_raw_host
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
167 µs165.9 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
477 µs474.1 µs
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
test_url_build_access_username_password
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
679 µs676.6 µs
test_url_build_with_host_and_port
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
589.7 µs587.8 µs
test_url_with_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
197.2 µs196.6 µs
test_url_with_path_parent
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
303.6 µs302.7 µs
test_update_query_none
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
81.9 µs81.7 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
491 µs489.7 µs
test_url_build_with_host_path_and_port
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
529.8 µs528.3 µs
test_url_with_password
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
303.7 µs302.9 µs
test_long_query_with_pct
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
3.4 ms3.4 ms
test_unquoter_long_pct
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
6.9 ms6.9 ms
test_raw_path_qs_with_query
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
54.1 µs54.1 µs
test_update_query_mapping_with_existing_query
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
872.6 µs871.4 µs
test_quoter_ascii
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
54.3 µs54.2 µs
test_human_repr
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms

Commits

Click on a commit to change the comparison range
Base
master
7829b01
-16.3%
Add password masking in __repr__
80e0f97
14 days ago
by mbaas038
+0.94%
[pre-commit.ci] auto fixes from pre-commit.com hooks
0ac2681
3 days ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs