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

feat: microoptimize `_LRUCacheWrapper._task_done_callback`

#684
Comparing
BobTheBuidler:callback
(
f155143
) with
master
(
3341173
)
CodSpeed Performance Gauge
0%
Untouched
39

Benchmarks

39 total
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
21.2 µs21 µs
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
21.2 µs21 µs
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
22.2 µs22.1 µs
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
153.2 µs152.4 µs
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
965.4 ms963.2 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
23.9 µs23.9 µs
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
152.6 µs152.4 µs
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
9.9 ms9.9 ms
test_cache_ttl_expiry_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
144.5 µs144.3 µs
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.2 µs108.1 µs
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.9 µs108.9 µs
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_cache_info_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
382.1 µs382 µs
test_cache_invalidate_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
383.1 µs383.1 µs
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_cache_ttl_expiry_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
132.6 µs132.7 µs
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
0%
359 ms359.2 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
960.4 ms961.1 ms
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10 ms10 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
master
3341173
-0.06%
Merge branch 'master' into callback
c47ab35
7 months ago
by Dreamsorcerer
+0.1%
lint
4d5e3f0
7 months ago
by BobTheBuidler
-0.13%
Merge branch 'master' into callback
f155143
6 months ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs