Skip to content

chore(style): fix formatting#384

Open
cb1kenobi wants to merge 1 commit intomainfrom
fix-formatting
Open

chore(style): fix formatting#384
cb1kenobi wants to merge 1 commit intomainfrom
fix-formatting

Conversation

@cb1kenobi
Copy link
Contributor

Fixes formatting issues in the codebase.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

📊 Benchmark Results

get-sync.bench.ts

getSync() > random keys - small key size (100 records)

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 lmdb 1 22.88K ops/sec 43.70 42.13 413.229 0.114 114,423
🥈 rocksdb 2 12.16K ops/sec 82.22 80.47 2,754.525 0.116 60,816

getSync() > sequential keys - small key size (100 records)

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 lmdb 1 27.01K ops/sec 37.02 35.80 336.168 0.097 135,070
🥈 rocksdb 2 12.59K ops/sec 79.42 77.26 3,180.634 0.130 62,959

ranges.bench.ts

getRange() > small range (100 records, 50 range)

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 lmdb 1 25.60K ops/sec 39.06 37.29 1,133.999 0.134 127,993
🥈 rocksdb 2 3.42K ops/sec 292.323 255.755 2,233.677 0.529 17,105

realistic-load.bench.ts

Realistic write load with workers > write variable records with transaction log

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 rocksdb 1 182.91 ops/sec 5,467.256 65.55 158,731.716 48.23 384
🥈 lmdb 2 27.23 ops/sec 36,723.07 258.769 1,169,882.452 136.825 64.00

transaction-log.bench.ts

Transaction log > read 100 iterators while write log with 100 byte records

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 rocksdb 1 37.90K ops/sec 26.38 13.65 14,393.944 0.737 189,503
🥈 lmdb 2 436.89 ops/sec 2,288.881 495.053 7,994.362 1.10 2,185

Transaction log > read one entry from random position from log with 1000 100 byte records

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 rocksdb 1 610.34K ops/sec 1.64 1.41 3,324.764 0.184 3,051,718
🥈 lmdb 2 389.88K ops/sec 2.56 1.54 4,474.443 0.331 1,949,408

worker-put-sync.bench.ts

putSync() > random keys - small key size (100 records, 10 workers)

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 rocksdb 1 863.69 ops/sec 1,157.818 991.201 2,049.153 0.260 1,728
🥈 lmdb 2 1.00 ops/sec 996,810.78 839,855.6 1,041,544.203 4.26 10.00

worker-transaction-log.bench.ts

Transaction log with workers > write log with 100 byte records

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 rocksdb 1 18.24K ops/sec 54.83 30.54 6,217.227 0.862 36,480
🥈 lmdb 2 855.08 ops/sec 1,169.482 191.552 9,603.864 5.07 1,711

Results from commit 293638e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant