Avatar for the jaemk user
jaemk
cached
BlogDocsChangelog

feat: sharded in-memory stores + #[concurrent_cached] default

#264
Comparing
20250525.sharded-cache
(
ce4274c
) with
master
(
70cb5ac
)
CodSpeed Performance Gauge
-43%
Regression
4
Untouched
12

Benchmarks

16 total
UnboundCache hit
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
-59%
276.4 ns668.6 ns
RwLock UnboundCache unsync read
benches/cache_benches.rs::benches::bench_lock_synchronization::Lock Contention & Synchronization
CodSpeed Performance Gauge
-47%
372.8 ns704.4 ns
RwLock UnboundCache write lock read
benches/cache_benches.rs::benches::bench_lock_synchronization::Lock Contention & Synchronization
CodSpeed Performance Gauge
-45%
370.3 ns672.5 ns
LruCache insert (no eviction)
benches/cache_benches.rs::benches::bench_cache_misses_and_inserts::Cache Misses & Inserts
CodSpeed Performance Gauge
-10%
765.8 ns853.3 ns
UnboundCache insert
benches/cache_benches.rs::benches::bench_cache_misses_and_inserts::Cache Misses & Inserts
CodSpeed Performance Gauge
+8%
410.3 ns381.1 ns
TtlCache insert (no eviction)
benches/cache_benches.rs::benches::bench_cache_misses_and_inserts::Cache Misses & Inserts
CodSpeed Performance Gauge
+4%
839.7 ns810.6 ns
LruTtlCache insert (no eviction)
benches/cache_benches.rs::benches::bench_cache_misses_and_inserts::Cache Misses & Inserts
CodSpeed Performance Gauge
+2%
1.3 µs1.3 µs
LruTtlCache eviction overhead
benches/cache_benches.rs::benches::bench_eviction_overhead::Eviction & Capacity Limits
CodSpeed Performance Gauge
+2%
1.7 µs1.6 µs
ExpiringCache hit (O(1))
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
0%
431.9 ns431.9 ns
ExpiringLruCache hit (O(1))
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
0%
526.1 ns526.1 ns
TtlCache hit (O(1))
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
-3%
936.9 ns966.1 ns
LruCache hit
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
-5%
526.1 ns555.3 ns
TtlSortedCache hit
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
-6%
897.2 ns950.3 ns
ExpiringCache insert
benches/cache_benches.rs::benches::bench_cache_misses_and_inserts::Cache Misses & Inserts
CodSpeed Performance Gauge
-6%
437.5 ns466.7 ns
LruTtlCache hit (O(1))
benches/cache_benches.rs::benches::bench_cache_hits::Cache Hits (O(1) Reads)
CodSpeed Performance Gauge
-7%
1.1 µs1.2 µs
LruCache eviction overhead
benches/cache_benches.rs::benches::bench_eviction_overhead::Eviction & Capacity Limits
CodSpeed Performance Gauge
-9%
1.2 µs1.3 µs

Commits

Click on a commit to change the comparison range
Base
master
70cb5ac
-42.44%
feat: sharded in-memory stores + #[concurrent_cached] default
18e4cac
9 days ago
by jaemk
+11.62%
feat: finish sharded cache PR fixes
345fdc7
6 days ago
by jaemk
0%
fix: restore intra-doc links for RedisCache and DiskCache in CacheTtl trait
668439c
6 days ago
by jaemk
0%
fix: ShardedExpiringLruCache::cache_remove fires on_evict and updates evictions
04e321f
6 days ago
by jaemk
0%
fix: cache_remove returns Some(v) for expired entries across all sharded expiry stores
a083aaf
6 days ago
by jaemk
-17.58%
feat: allow plain return types for #[concurrent_cached] on sharded in-memory stores
9778167
6 days ago
by jaemk
+7.79%
fix: address concurrent cache review feedback
07e8f90
6 days ago
by jaemk
0%
fix: polish concurrent cache review feedback
9d2dcf6
6 days ago
by jaemk
0%
fix: on_evict stored-key consistency and ShardedTtlCache cache_remove
3056931
6 days ago
by jaemk
0%
docs: clarify Result-alias detection requires type arguments
631645a
6 days ago
by jaemk
-6.9%
docs: sync cache_remove unification across changelog, readme, and trait docs
b22b929
5 days ago
by jaemk
+6.9%
fix: address PR review feedback — clone removal, doc clarifications, test improvements
171f2d6
5 days ago
by jaemk
0%
fix: LruCache::retain fires on_evict; ShardedLruTtlCache::evict no longer double-counts
1a74ac8
5 days ago
by jaemk
+0.56%
fix: address PR review feedback
b6cd624
5 days ago
by jaemk
0%
ci: restore CodSpeed simulation mode
4e9c7bc
5 days ago
by jaemk
0%
fix: with_cached_flag error message, ShardedTtlCache build panic, evictions guard
42f178a
5 days ago
by jaemk
0%
feat: add option=true support to #[concurrent_cached] and unify macro arg naming
0f25248
5 days ago
by jaemk
-6.68%
fix: address PR review feedback
80f3c31
4 days ago
by jaemk
+4.07%
docs: rename migration files so no-suffix = agent, -human suffix = human
ce4274c
3 days ago
by jaemk
© 2026 CodSpeed Technology
Home Terms Privacy Docs