aio-libs
async-lru
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: get loop from Future instead of context-local storage
#712
Comparing
BobTheBuidler:patch-5
(
e2f4e49
) with
master
(
0654124
)
CodSpeed Performance Gauge
0%
Untouched
63
Skipped
4
Benchmarks
Skipped (4)
Passed
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
4.9 ms
4.9 ms
test_concurrent_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
9.8 ms
9.7 ms
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
22.7 µs
22.4 µs
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
22.3 µs
22.2 µs
test_cache_ttl_expiry_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
147.5 µs
146.4 µs
test_concurrent_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
2.7 ms
2.7 ms
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
21.1 µs
21 µs
test_cache_clear_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
21.2 µs
21 µs
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
3.2 ms
3.2 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
3.9 ms
3.9 ms
test_cache_miss_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
10.2 ms
10.2 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[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
10.4 ms
10.4 ms
test_concurrent_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
8.4 ms
8.3 ms
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.9 ms
3.9 ms
test_concurrent_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
9 ms
9 ms
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
961.5 ms
959.8 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
22.2 µs
22.2 µ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_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
0%
358.8 ms
358.5 ms
test_cache_hit_benchmark[meth-unbounded]
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.5 µs
152.4 µs
test_cache_invalidate_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
382.2 µs
382.1 µs
test_cache_info_benchmark[meth-bounded]
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.2 µs
test_cache_info_benchmark[func-unbounded-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_info_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_cache_invalidate_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
383.3 µs
383.3 µs
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
test_cache_info_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_concurrent_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
21.1 µs
21.1 µs
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.5 ms
3.5 ms
test_cache_info_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
963.7 ms
964 ms
test_cache_clear_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
22.4 µs
22.4 µs
test_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
85.5 ms
85.7 ms
test_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
85.4 ms
85.6 ms
test_cache_miss_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
12 ms
12 ms
test_cache_clear_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
22.2 µs
22.2 µs
test_cache_invalidate_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
91.3 ms
91.6 ms
test_cache_miss_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
11.6 ms
11.7 ms
test_cache_miss_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
11.5 ms
11.6 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-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
11.9 ms
12 ms
test_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
91.3 ms
91.7 ms
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
3.5 ms
3.5 ms
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
382.1 µs
384.4 µs
test_cache_ttl_expiry_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
131.9 µs
132.7 µs
test_cache_ttl_expiry_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
132 µs
132.9 µs
test_cache_ttl_expiry_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-1%
145 µs
146 µs
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
Commits
Click on a commit to change the comparison range
Base
master
0654124
+0.01%
feat: get loop from Future instead of context-local storage This should be faster on the benchmarks, not sure though.
f3dd0d4
6 days ago
by BobTheBuidler
+0.07%
Merge branch 'master' into patch-5
e2f4e49
5 days ago
by BobTheBuidler
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs