aio-libs
async-lru
BlogDocsChangelog

feat(benchmark): include wrappers with ttl in parametrization

#713Merged
Comparing
BobTheBuidler:patch-6
(
98f094a
) with
master
(
3341173
)
CodSpeed Performance Gauge
0%
Untouched
35
New
28
Skipped
4

Benchmarks

Skipped (4)

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*
test_cache_ttl_expiry_benchmark[meth-unbounded]
benchmark.py
Skipped
144.6 µs*

New

test_cache_clear_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A22.2 µs
test_cache_clear_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A21.1 µs
test_cache_miss_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A11.5 ms
test_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A85.4 ms
test_cache_miss_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A11.9 ms
test_cache_ttl_expiry_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A132.1 µs
test_cache_clear_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A22.3 µs
test_cache_ttl_expiry_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A145.2 µs
test_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A91.4 ms
test_cache_clear_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A21 µs
test_cache_ttl_expiry_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A146.7 µs
test_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A85.4 ms
test_concurrent_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A10.4 ms
test_cache_miss_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A11.6 ms
test_cache_ttl_expiry_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A132.3 µs
test_concurrent_cache_hit_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A8.3 ms
test_concurrent_cache_hit_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A9.9 ms
test_cache_hit_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A91.3 ms
test_cache_info_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A2.3 ms
test_cache_invalidate_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A381.9 µs
test_cache_info_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A2.3 ms
test_cache_miss_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A11.9 ms
test_cache_invalidate_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A382.1 µs
test_concurrent_cache_hit_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A9 ms
test_cache_info_benchmark[func-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A2 ms
test_cache_info_benchmark[func-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A2 ms
test_cache_invalidate_benchmark[meth-unbounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A1.1 ms
test_cache_invalidate_benchmark[meth-bounded-ttl]
benchmark.py
CodSpeed Performance Gauge
N/A
N/A1.1 ms

Passed

test_cache_clear_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+8%
23.9 µs22.1 µs
test_cache_clear_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
22.2 µs22 µs
test_cache_invalidate_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_cache_clear_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
21.2 µs21 µs
test_internal_task_done_callback_microbenchmark[finished-func-bounded]
benchmark.py
CodSpeed Performance Gauge
+1%
3.9 ms3.8 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_internal_cache_hit_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
153.2 µs152.6 µs
test_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
10 ms9.9 ms
test_internal_cache_miss_microbenchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.2 µs108 µs
test_cache_invalidate_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_internal_cache_miss_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
108.9 µs108.8 µs
test_internal_task_done_callback_microbenchmark[exception-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
965.4 ms964.1 ms
test_internal_cache_hit_microbenchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
152.6 µs152.5 µs
test_concurrent_cache_hit_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_cache_fill_eviction_benchmark
benchmark.py
CodSpeed Performance Gauge
0%
359 ms358.7 ms
test_internal_task_done_callback_microbenchmark[finished-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
test_internal_task_done_callback_microbenchmark[exception-func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
960.4 ms959.9 ms
test_cache_info_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_cache_invalidate_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
382.1 µs381.9 µs
test_cache_invalidate_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
383.1 µs383 µs
test_cache_info_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_cache_info_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_cache_info_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_cache_miss_benchmark[meth-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_concurrent_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_concurrent_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_concurrent_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_cache_hit_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
test_internal_task_done_callback_microbenchmark[cancelled-func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_cache_miss_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_hit_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
test_cache_miss_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_cache_miss_benchmark[func-bounded]
benchmark.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_cache_hit_benchmark[meth-bounded]
benchmark.py
CodSpeed Performance Gauge
-2%
9.9 ms10.2 ms
test_cache_clear_benchmark[func-unbounded]
benchmark.py
CodSpeed Performance Gauge
-6%
21.2 µs22.4 µs

Commits

Click on a commit to change the comparison range
Base
master
3341173
+0.09%
lint
98f094a
10 days ago
by BobTheBuidler
© 2025 CodSpeed Technology
Home Terms Privacy Docs