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

enable slots with `_CacheItem`, `_LRUCacheWrapper` & `_LRUCacheWrapperInstanceMethod`

#770
Comparing
Vizonex:improvements
(
145f9d2
) with
master
(
60d8bc6
)
CodSpeed Performance Gauge
+18%
Improvement
5
Untouched
58
Skipped
4

Benchmarks

67 total
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+25%
93.2 µs74.6 µs
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+25%
94.1 µs75.4 µs
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+15%
138.3 µs120 µs
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+15%
138.3 µs120 µs
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+11%
18.3 µs16.4 µs
test_cache_clear_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+9%
17 µs15.5 µs
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+8%
16.9 µs15.7 µs
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+7%
19.8 µs18.5 µs
test_cache_clear_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+6%
18 µs17.1 µs
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+5%
17.9 µs17 µs
test_cache_clear_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
17.9 µs17 µs
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+5%
18.9 µs18 µs
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
5.3 ms5.3 ms
test_cache_invalidate_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_cache_invalidate_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
25.5 ms25.5 ms
test_cache_invalidate_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
373.6 µs373.3 µs
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
373.4 µs373.3 µs

Commits

Click on a commit to change the comparison range
Base
master
60d8bc6
-0.38%
add enable slots with _CacheItem
255afd9
3 days ago
by Vizonex
+0.03%
Merge branch 'master' into improvements
0c66e7a
3 days ago
by Vizonex
+18.61%
other slots for 3.14
1720eaf
3 days ago
by Vizonex
-0.03%
add slots for _LRUCacheWrapperInstanceMethod also.
145f9d2
3 days ago
by Vizonex
© 2026 CodSpeed Technology
Home Terms Privacy Docs