Skip to content

Commit 568ebe3

Browse files
committed
Update LMDB report to new locations and xxHash algo
1 parent 7fa8371 commit 568ebe3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

report-lmdb.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
set -euo pipefail
1919

2020
# Set data directory (input from run-lmdb.sh) and output directory
21-
DATA_DIR="target/benchmark-lmdb"
21+
DATA_DIR="lmdb/results"
2222
WORK_DIR="target/benchmark"
2323

2424
# Get latest LMDB tag from metadata file saved by run-lmdb.sh
@@ -188,11 +188,11 @@ COLORS[readCrc]="#e41a1c"
188188
COLORS[readKey]="#984ea3"
189189
COLORS[readRev]="#ffff33"
190190
COLORS[readSeq]="#377eb8"
191-
COLORS[readXxh32]="#4daf4a"
191+
COLORS[readXxh64]="#4daf4a"
192192
COLORS[write]="#ff7f00"
193193

194194
# Extract data for each benchmark operation across all LMDB versions
195-
for BENCH in readCrc readKey readRev readSeq readXxh32 write; do
195+
for BENCH in readCrc readKey readRev readSeq readXxh64 write; do
196196
echo "Processing benchmark: ${BENCH}..."
197197

198198
# Extract scores for this benchmark across all LMDB versions
@@ -239,9 +239,9 @@ set title "Write Entry"
239239
set style fill solid 0.25 border
240240
plot 'lmdb-write.dat' using 2:xtic(1) with boxes lc rgb "#ff7f00" notitle
241241
242-
set title "Calculate xxHash32"
242+
set title "Calculate xxHash64"
243243
set style fill solid 0.25 border
244-
plot 'lmdb-readXxh32.dat' using 2:xtic(1) with boxes lc rgb "#4daf4a" notitle
244+
plot 'lmdb-readXxh64.dat' using 2:xtic(1) with boxes lc rgb "#4daf4a" notitle
245245
246246
set title "Iterate Sequentially"
247247
set style fill solid 0.25 border
@@ -279,12 +279,12 @@ EOF
279279
declare -A BENCH_NAMES
280280
BENCH_NAMES[readKey]="Read by Key"
281281
BENCH_NAMES[write]="Write Entry"
282-
BENCH_NAMES[readXxh32]="Calculate xxHash32"
282+
BENCH_NAMES[readXxh64]="Calculate xxHash64"
283283
BENCH_NAMES[readSeq]="Iterate Sequentially"
284284
BENCH_NAMES[readRev]="Iterate Reverse"
285285
BENCH_NAMES[readCrc]="Calculate CRC32"
286286

287-
for BENCH in readKey write readXxh32 readSeq readRev readCrc; do
287+
for BENCH in readKey write readXxh64 readSeq readRev readCrc; do
288288
echo "### ${BENCH_NAMES[$BENCH]}" >> README.md
289289
echo "" >> README.md
290290
echo "| Rank | LMDB Tag | ms/op | vs Fastest |" >> README.md
@@ -385,7 +385,7 @@ All tests use the LmdbJava Agrona implementation with the following configuratio
385385
- **Key Type**: Sequential 32-bit integers
386386
- **Value Size**: 100 bytes
387387
- **Access Pattern**: Sequential
388-
- **Benchmarks**: All 6 operations (readCrc, readKey, readRev, readSeq, readXxh32, write)
388+
- **Benchmarks**: All 6 operations (readCrc, readKey, readRev, readSeq, readXxh64, write)
389389
390390
EOF
391391

0 commit comments

Comments
 (0)