aio-libs
async-lru
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: handle CancelledError - cancel if no other waiters
#697
Merged
Comparing
BobTheBuidler:patch-3
(
928531f
) with
master
(
0654124
)
CodSpeed Performance Gauge
×560
Improvements
6
Untouched
57
Skipped
4
Benchmarks
Skipped (4)
Archive selected
These benchmarks were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
test_cache_ttl_expiry_benchmark[meth-unbounded]
benchmark.py
Skipped
144.6 µs
*
test_cache_ttl_expiry_benchmark[func-unbounded]
benchmark.py
Skipped
132.6 µs
*
test_cache_ttl_expiry_benchmark[func-bounded]
benchmark.py
Skipped
132.5 µs
*
test_cache_ttl_expiry_benchmark[meth-bounded]
benchmark.py
Skipped
144.5 µs
*
Improved
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
×560
963.7 ms
1.7 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
×560
961.5 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-unbounded]
benchmark.py
CodSpeed Performance Gauge
×2.1
3.9 ms
1.8 ms
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
×2.1
3.9 ms
1.8 ms
Passed
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
+7%
358.8 ms
336.3 ms
test_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+6%
85.5 ms
81 ms
test_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
85.4 ms
81 ms
test_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
91.3 ms
86.8 ms
test_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
91.3 ms
86.8 ms
test_cache_miss_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
11.9 ms
11.4 ms
test_cache_miss_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
11.5 ms
11 ms
test_cache_miss_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
12 ms
11.4 ms
test_cache_miss_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+5%
11.6 ms
11.1 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+4%
22.3 µs
21.6 µs
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+3%
22.7 µs
22 µs
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+3%
21.1 µs
20.5 µs
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+3%
22.2 µs
21.5 µs
test_cache_clear_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+3%
22.4 µs
21.8 µs
test_cache_clear_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+3%
21.2 µs
20.6 µs
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+3%
21.1 µs
20.5 µs
test_cache_clear_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+2%
22.2 µs
21.6 µs
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+2%
10.2 ms
10 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.1 µs
152.5 µs
test_concurrent_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.9 µs
108.7 µs
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.2 µs
108.1 µs
test_cache_invalidate_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
383.3 µs
383 µs
test_cache_invalidate_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
382.2 µs
381.9 µs
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
382.3 µs
382.1 µs
test_cache_info_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_info_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
382.1 µs
382.1 µs
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
152.5 µs
152.6 µs
test_cache_invalidate_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_miss_benchmark[func-bounded]
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_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
9.9 ms
10 ms
test_cache_info_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_cache_info_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_cache_info_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_concurrent_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
9 ms
9 ms
test_cache_invalidate_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_cache_ttl_expiry_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
147.5 µs
148.1 µs
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
test_concurrent_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
8.4 ms
8.4 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
test_cache_ttl_expiry_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
145 µs
146.2 µs
test_cache_ttl_expiry_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
131.9 µs
133.3 µs
test_cache_ttl_expiry_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
132 µs
133.5 µs
test_concurrent_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-3%
9.8 ms
10.1 ms
test_concurrent_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-3%
10.4 ms
10.8 ms
Commits
Click on a commit to change the comparison range
Base
master
0654124
+0.09%
finish up impl
e85e099
19 days ago
by BobTheBuidler
0%
Update test_cancel.py
2c4d654
19 days ago
by BobTheBuidler
+0.12%
lint
f9cfbf9
19 days ago
by BobTheBuidler
0%
Update __init__.py
6441a1d
19 days ago
by BobTheBuidler
-0.04%
Update __init__.py
94c303b
18 days ago
by BobTheBuidler
-0.32%
Merge branch 'master' into patch-3
4495e48
14 days ago
by BobTheBuidler
+0.09%
Update test_cancel.py
ca5a166
14 days ago
by BobTheBuidler
-0.04%
lint
829a077
14 days ago
by BobTheBuidler
+0.05%
lint
4d239ef
14 days ago
by BobTheBuidler
-0.05%
Update __init__.py
83a6b53
14 days ago
by BobTheBuidler
×560
Merge branch 'refactored' into patch-3
9d1f4f8
13 days ago
by BobTheBuidler
-94.5%
reduce sleep time
b131609
11 days ago
by BobTheBuidler
+95.4%
Update test_cancel.py
b42e31d
11 days ago
by BobTheBuidler
-0.94%
Merge branch 'master' into patch-3
be24f51
11 days ago
by BobTheBuidler
-2.64%
remove unnecessary check
28a108a
11 days ago
by BobTheBuidler
+5.55%
Update __init__.py
b0e7572
10 days ago
by BobTheBuidler
-1.66%
Tweak coverage
928531f
4 hours ago
by Dreamsorcerer
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs