Skip to content

Add tpcc sync switch and reuse LMDB point-lookup cursor - #391

Merged
KKould merged 2 commits into
mainfrom
perf/tpcc-sync-lmdb-cursor
Oct 25, 2026
Merged

KKould merged 2 commits into
mainfrom
perf/tpcc-sync-lmdb-cursor

perf(storage): reuse an LMDB cursor for primary-key point lookups

49eaa7f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 25, 2026 in 0s

93.64% (-0.05%) compared to c78efe9

View this Pull Request on Codecov

93.64% (-0.05%) compared to c78efe9

Details

Codecov Report

❌ Patch coverage is 63.49206% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.64%. Comparing base (c78efe9) to head (49eaa7f).

Files with missing lines Patch % Lines
src/db.rs 0.00% 11 Missing ⚠️
src/storage/rocksdb.rs 50.00% 10 Missing ⚠️
src/storage/lmdb.rs 92.30% 1 Missing ⚠️
src/storage/mod.rs 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #391      +/-   ##
==========================================
- Coverage   93.68%   93.64%   -0.05%     
==========================================
  Files         260      260              
  Lines       48783    48844      +61     
==========================================
+ Hits        45704    45741      +37     
- Misses       3079     3103      +24     
Files with missing lines Coverage Δ
src/storage/memory.rs 96.44% <100.00%> (+0.04%) ⬆️
src/storage/lmdb.rs 93.83% <92.30%> (-0.08%) ⬇️
src/storage/mod.rs 93.27% <93.75%> (+<0.01%) ⬆️
src/storage/rocksdb.rs 82.52% <50.00%> (-0.84%) ⬇️
src/db.rs 92.72% <0.00%> (-0.70%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.