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

fix(benchmarks): force cache-miss evictions for accurate baselines

#113Merged
Comparing
fix/bench-miss-evictions-20260217232117
(
e0715a7
) with
master
(
0bb1676
)
CodSpeed Performance Gauge
-99%
Regression
8
Untouched
55

Benchmarks

63 total
test_cache_miss_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
-99%
919.7 µs156,159.4 µs
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-99%
921.3 µs156,100.3 µs
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
-99%
1.3 ms163.1 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
-99%
1.3 ms162.9 ms
test_cache_miss_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-94%
11.9 ms185.8 ms
test_cache_miss_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-94%
12.4 ms192.4 ms
test_cache_miss_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-94%
12 ms185.9 ms
test_cache_miss_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
-94%
12.5 ms192.5 ms
test_cache_ttl_expiry_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
135.8 µs134 µs
test_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
95 ms93.9 ms
test_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
95 ms93.9 ms
test_concurrent_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
9.7 ms9.6 ms
test_cache_ttl_expiry_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
143.7 µs142.4 µs
test_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
91.3 ms90.5 ms
test_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
+1%
91.3 ms90.6 ms
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
3.3 ms3.3 ms
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
2 ms2 ms
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
3.3 ms3.3 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
test_concurrent_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
460.2 µs458.7 µs
test_cache_clear_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
21.6 µs21.6 µs
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
21.7 µs21.7 µs
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
21.8 µs21.7 µs
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
0%
459.4 µs458.6 µs

Commits

Click on a commit to change the comparison range
Base
master
0bb1676
-99.41%
fix(benchmarks): force cache-miss evictions for accurate baselines
e0715a7
2 months ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs