Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: simplify foyer in-memory cache framework #785

Merged
merged 35 commits into from
Nov 19, 2024

Merge branch 'main' into xx/framework

39db46d
Select commit
Loading
Failed to load commit list.
Merged

feat: simplify foyer in-memory cache framework #785

Merge branch 'main' into xx/framework
39db46d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Nov 19, 2024 in 0s

83.26% (-1.49%) compared to 2e4844b

View this Pull Request on Codecov

83.26% (-1.49%) compared to 2e4844b

Details

Codecov Report

Attention: Patch coverage is 84.32686% with 234 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
foyer-memory/src/eviction/lfu.rs 84.36% 53 Missing ⚠️
foyer-memory/src/record.rs 63.26% 36 Missing ⚠️
foyer-memory/src/raw.rs 88.23% 34 Missing ⚠️
foyer-memory/src/eviction/lru.rs 90.20% 29 Missing ⚠️
foyer-memory/src/eviction/s3fifo.rs 86.05% 29 Missing ⚠️
foyer-memory/src/cache.rs 57.89% 16 Missing ⚠️
foyer-memory/src/eviction/fifo.rs 83.13% 14 Missing ⚠️
foyer-common/src/scope.rs 36.84% 12 Missing ⚠️
foyer-common/src/option.rs 0.00% 8 Missing ⚠️
foyer-common/src/event.rs 0.00% 1 Missing ⚠️
... and 2 more
Files with missing lines Coverage Δ
foyer-memory/src/eviction/mod.rs 100.00% <100.00%> (ø)
foyer-memory/src/eviction/test_utils.rs 100.00% <100.00%> (ø)
foyer-memory/src/indexer/hash_table.rs 100.00% <100.00%> (ø)
foyer-storage/src/large/generic.rs 88.85% <100.00%> (+0.03%) ⬆️
foyer-storage/src/small/bloom_filter.rs 99.00% <100.00%> (+0.01%) ⬆️
foyer-storage/src/small/generic.rs 76.21% <100.00%> (+1.07%) ⬆️
foyer-storage/src/small/set_manager.rs 90.34% <100.00%> (+0.05%) ⬆️
foyer-storage/src/test_utils.rs 90.47% <100.00%> (+2.01%) ⬆️
foyer/src/hybrid/builder.rs 94.90% <ø> (-0.25%) ⬇️
foyer/src/hybrid/cache.rs 82.33% <100.00%> (ø)
... and 13 more

... and 3 files with indirect coverage changes


🚨 Try these New Features: