Avatar for the Bluetooth-Devices user
Bluetooth-Devices
cached-ipaddress
BlogDocsChangelog

perf: skip IPv4 ctor for colon-bearing strings in cached_ip_addresses

#121
Comparing
bluetoothbot:koan/dispatch-by-input-type
(
9171e60
) with
main
(
527706b
)
CodSpeed Performance Gauge
0%
Untouched
26

Benchmarks

26 total
test_eq_performance_hit
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+7%
14.5 µs13.5 µs
test_str_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+1%
13.4 µs13.3 µs
test_str_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+1%
13.4 µs13.3 µs
test_is_reserved_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+1%
11.1 µs11.1 µs
test_exploded_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+1%
11.2 µs11.1 µs
test_exploded_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
+1%
11.2 µs11.2 µs
test_is_loopback_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
test_is_unspecified_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.2 µs11.1 µs
test_hash_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
15 µs15 µs
test_reverse_pointer_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.2 µs11.2 µs
test_hash_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
14.9 µs14.9 µs
test_is_global_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.4 µs11.4 µs
test_compressed_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.2 µs11.2 µs
test_compressed_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.2 µs
test_reverse_pointer_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
test_is_multicast_performance
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
test_is_global_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
test_is_private_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
test_eq_performance_miss
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
0%
15.6 µs15.6 µs
test_is_multicast_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
-1%
11.1 µs11.1 µs
test_is_unspecified_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
-1%
11 µs11.1 µs
test_is_loopback_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
-1%
11.3 µs11.4 µs
test_is_reserved_performance_ipv6
tests/benchmarks/test_ipaddress.py
CodSpeed Performance Gauge
-1%
11.1 µs11.2 µs

Commits

Click on a commit to change the comparison range
Base
main
527706b
+0.17%
test(benchmarks): use N unique inputs for construction miss benches
8927c4c
5 days ago
by bluetoothbot
+0.02%
test(benchmarks): drop construction-miss benches per reviewer split request
9171e60
5 days ago
by bluetoothbot
© 2026 CodSpeed Technology
Home Terms Privacy Docs