Avatar for the BobTheBuidler user
BobTheBuidler
faster-async-lru
BlogDocsChangelog

fix: enforce event-loop affinity for alru_cache

#117Merged
Comparing
split-event-loop-affinity-20260218
(
5f9813d
) with
master
(
3bb031c
)
CodSpeed Performance Gauge
-13%
Regression
2
Untouched
61

Benchmarks

63 total
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-13%
5.9 ms6.9 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
-13%
6 ms6.9 ms
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+4%
111.2 µs106.8 µs
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+4%
110.3 µs106 µs
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+3%
176.8 µs172.5 µs
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+2%
176.7 µs172.4 µs
test_cache_ttl_expiry_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+2%
138.7 µs135.4 µs
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
2.3 ms2.2 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
2.3 ms2.2 ms
test_cache_ttl_expiry_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
146.7 µs145.3 µs
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
21.8 µs21.6 µs
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
2 ms2 ms
test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
23.9 µs23.8 µs
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
23.8 µs23.7 µs
test_cache_info_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_cache_clear_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
24.3 µs24.2 µs
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
21.8 µs21.7 µs
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
23.1 µs23.1 µs
test_cache_info_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
459.8 µs459.7 µs
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_cache_invalidate_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
459.3 µs459.2 µs

Commits

Click on a commit to change the comparison range
Base
master
3bb031c
-13.38%
docs: restore README matrix alt text for readability
5f9813d
2 months ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs