aio-libs
async-lru
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: handle CancelledError - cancel if no other waiters + refactoring
#708
Closed
Comparing
BobTheBuidler:refactored
(
33e5dca
) with
master
(
3341173
)
CodSpeed Performance Gauge
×560
Improvements
6
Untouched
33
Benchmarks
Improved
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
×560
965.4 ms
1.7 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
×560
960.4 ms
1.7 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
×2.2
3.5 ms
1.6 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
×2.2
3.5 ms
1.6 ms
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
×2.1
3.9 ms
1.8 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
×2.1
3.9 ms
1.8 ms
Passed
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
+10%
359 ms
327.5 ms
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+3%
21.2 µs
20.5 µs
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+3%
21.2 µs
20.5 µs
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+3%
22.2 µs
21.6 µs
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+3%
23.9 µs
23.3 µs
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10 ms
9.9 ms
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
9.9 ms
9.9 ms
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
152.6 µs
152.5 µs
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.2 µs
108.1 µs
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.9 µs
108.8 µs
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_info_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_concurrent_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
382.1 µs
382.2 µs
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.2 µs
153.2 µs
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_cache_invalidate_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
383.1 µs
383.3 µs
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_concurrent_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_cache_miss_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_ttl_expiry_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
-1%
144.5 µs
146.6 µs
test_cache_ttl_expiry_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
-2%
144.6 µs
147 µs
test_cache_ttl_expiry_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-2%
132.6 µs
135.1 µs
test_cache_ttl_expiry_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
-3%
132.5 µs
136.4 µs
Commits
Click on a commit to change the comparison range
Base
master
3341173
×560
Update benchmark.py
157c7d5
15 days ago
by BobTheBuidler
0%
Update test_internals.py
23daa05
15 days ago
by BobTheBuidler
0%
Update test_basic.py
3972c0f
15 days ago
by BobTheBuidler
0%
Update test_internals.py
4878867
15 days ago
by BobTheBuidler
+33.66%
Update __init__.py
3943555
15 days ago
by BobTheBuidler
×2.9
Update __init__.py
d76b537
15 days ago
by BobTheBuidler
+1.35%
Update __init__.py
9ed3a42
15 days ago
by BobTheBuidler
0%
Update test_internals.py
4675c7a
15 days ago
by BobTheBuidler
0%
Update test_internals.py
33e5dca
15 days ago
by BobTheBuidler
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs