Skip to content

chore(style): fix formatting#378

Merged
cb1kenobi merged 1 commit intomainfrom
fix-formatting
Feb 5, 2026
Merged

chore(style): fix formatting#378
cb1kenobi merged 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 5, 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 23.36K ops/sec 42.82 41.39 488.182 0.113 116,781
🥈 rocksdb 2 12.38K ops/sec 80.76 78.67 2,918.788 0.123 61,913

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

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 lmdb 1 27.25K ops/sec 36.69 35.34 516.645 0.105 136,262
🥈 rocksdb 2 12.99K ops/sec 77.01 75.24 412.055 0.047 64,930

ranges.bench.ts

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

Implementation Rank Operations/sec Mean (ms) Min (ms) Max (ms) RME (%) Samples
🥇 lmdb 1 26.18K ops/sec 38.20 36.37 626.958 0.129 130,881
🥈 rocksdb 2 3.39K ops/sec 294.75 258.508 1,561.681 0.539 16,964

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 187.59 ops/sec 5,330.709 66.11 156,147.416 47.36 384
🥈 lmdb 2 26.74 ops/sec 37,403.008 297.688 1,200,290.084 136.901 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 34.86K ops/sec 28.69 15.67 9,628.588 0.469 174,297
🥈 lmdb 2 446.52 ops/sec 2,239.559 559.629 7,884.495 1.08 2,233

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 598.34K ops/sec 1.67 1.47 1,858.656 0.123 2,991,676
🥈 lmdb 2 399.93K ops/sec 2.50 1.37 3,539.097 0.322 1,999,675

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.54 ops/sec 1,158.025 1,010.504 1,843.146 0.268 1,728
🥈 lmdb 2 1.04 ops/sec 966,055.232 806,208.963 1,061,988.969 5.02 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.01K ops/sec 55.52 30.90 6,187.416 0.832 36,021
🥈 lmdb 2 831.83 ops/sec 1,202.166 180.061 11,688.374 4.98 1,666

Results from commit abef86c

@cb1kenobi cb1kenobi merged commit ad34aa1 into main Feb 5, 2026
34 of 36 checks passed
@cb1kenobi cb1kenobi deleted the fix-formatting branch February 5, 2026 15:32
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.

2 participants