aio-libs
async-lru
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: handle CancelledError - cancel if no other waiters
#697
Comparing
BobTheBuidler:patch-3
(
c29b492
) with
master
(
2913fe2
)
CodSpeed Performance Gauge
0%
Untouched
39
Benchmarks
Passed
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_cache_ttl_expiry_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
145.5 µs
144.7 µs
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_ttl_expiry_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
145.8 µs
145.2 µs
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.1 ms
10 ms
test_cache_miss_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_ttl_expiry_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
133.4 µs
133.1 µs
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.6 µs
153.4 µ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-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.1 µs
153.1 µs
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
964.2 ms
963.8 ms
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
22.4 µs
22.4 µs
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_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3 ms
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-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
374.8 µs
375 µs
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
373.7 µs
373.9 µs
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
21.3 µs
21.4 µs
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
960.2 ms
961.5 ms
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
0%
359.9 ms
360.4 ms
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.7 µs
108.9 µs
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
109.6 µs
109.8 µs
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10 ms
10 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.9 ms
3 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
23.9 µs
24 µs
test_cache_ttl_expiry_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
-1%
133.1 µs
133.9 µs
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
2.6 ms
2.6 ms
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
21.2 µs
21.5 µs
Commits
Click on a commit to change the comparison range
Base
master
2913fe2
-0.38%
Merge branch 'master' into patch-3
10621cc
11 days ago
by Dreamsorcerer
0%
Update test_cancel.py
c9718ae
11 days ago
by Dreamsorcerer
+0.4%
fix: name error CancelledError
c29b492
10 days ago
by BobTheBuidler
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs