Avatar for the aio-libs user
aio-libs
async-lru
BlogDocsChangelog

fix: avoid binding loop for invalid cache keys

#740
Comparing
BobTheBuidler:fix-loop-affinity-key-order-20260218
(
d395972
) with
master
(
c0f36c4
)
CodSpeed Performance Gauge
×15
Improvement
1
Untouched
62
Skipped
4

Benchmarks

67 total
test_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
×15
81.4 ms5.3 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+2%
1.8 ms1.8 ms
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+2%
1.8 ms1.8 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
5.3 ms5.2 ms
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_cache_invalidate_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
25.5 ms25.6 ms
test_concurrent_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
98.3 ms98.6 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_concurrent_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
30.7 ms30.8 ms
test_concurrent_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
91.8 ms92.2 ms
test_concurrent_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
79.8 ms80.2 ms
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_concurrent_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
85.9 ms86.3 ms
test_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
81.4 ms81.9 ms
test_concurrent_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
-1%
25.5 ms25.6 ms
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
144.2 ms145 ms
test_cache_miss_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
178.9 ms179.9 ms

Commits

Click on a commit to change the comparison range
Base
master
c0f36c4
×15
fix: avoid binding loop on invalid keys with direct lookup
d395972
2 days ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs