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

feat: microoptimize `_LRUCacheWrapper.__call__`

#683
Comparing
BobTheBuidler:call
(
bf06643
) 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_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.2 µs152.6 µs
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
23.9 µs23.8 µs
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
152.6 µs152.2 µs
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
0%
359 ms358.2 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
22.2 µs22.2 µs
test_concurrent_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.2 µs108.1 µs
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.9 µs108.8 µs
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
960.4 ms959.8 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
965.4 ms964.8 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
382.1 µs382 µs
test_cache_info_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_cache_miss_benchmark[func-unbounded]
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_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
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

Commits

Click on a commit to change the comparison range
Base
master
3341173
-0.16%
Merge branch 'master' into call
d9818eb
4 months ago
by BobTheBuidler
0%
Delete tests/benchmarks/test_bench_async_lru.py
303f9d5
4 months ago
by BobTheBuidler
+0.07%
Merge branch 'master' into call
bf06643
3 months ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs