|
18 | 18 | set -euo pipefail |
19 | 19 |
|
20 | 20 | # Set data directory (input from run-lmdb.sh) and output directory |
21 | | -DATA_DIR="target/benchmark-lmdb" |
| 21 | +DATA_DIR="lmdb/results" |
22 | 22 | WORK_DIR="target/benchmark" |
23 | 23 |
|
24 | 24 | # Get latest LMDB tag from metadata file saved by run-lmdb.sh |
@@ -188,11 +188,11 @@ COLORS[readCrc]="#e41a1c" |
188 | 188 | COLORS[readKey]="#984ea3" |
189 | 189 | COLORS[readRev]="#ffff33" |
190 | 190 | COLORS[readSeq]="#377eb8" |
191 | | -COLORS[readXxh32]="#4daf4a" |
| 191 | +COLORS[readXxh64]="#4daf4a" |
192 | 192 | COLORS[write]="#ff7f00" |
193 | 193 |
|
194 | 194 | # 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 |
196 | 196 | echo "Processing benchmark: ${BENCH}..." |
197 | 197 |
|
198 | 198 | # Extract scores for this benchmark across all LMDB versions |
@@ -239,9 +239,9 @@ set title "Write Entry" |
239 | 239 | set style fill solid 0.25 border |
240 | 240 | plot 'lmdb-write.dat' using 2:xtic(1) with boxes lc rgb "#ff7f00" notitle |
241 | 241 |
|
242 | | -set title "Calculate xxHash32" |
| 242 | +set title "Calculate xxHash64" |
243 | 243 | 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 |
245 | 245 |
|
246 | 246 | set title "Iterate Sequentially" |
247 | 247 | set style fill solid 0.25 border |
@@ -279,12 +279,12 @@ EOF |
279 | 279 | declare -A BENCH_NAMES |
280 | 280 | BENCH_NAMES[readKey]="Read by Key" |
281 | 281 | BENCH_NAMES[write]="Write Entry" |
282 | | -BENCH_NAMES[readXxh32]="Calculate xxHash32" |
| 282 | +BENCH_NAMES[readXxh64]="Calculate xxHash64" |
283 | 283 | BENCH_NAMES[readSeq]="Iterate Sequentially" |
284 | 284 | BENCH_NAMES[readRev]="Iterate Reverse" |
285 | 285 | BENCH_NAMES[readCrc]="Calculate CRC32" |
286 | 286 |
|
287 | | -for BENCH in readKey write readXxh32 readSeq readRev readCrc; do |
| 287 | +for BENCH in readKey write readXxh64 readSeq readRev readCrc; do |
288 | 288 | echo "### ${BENCH_NAMES[$BENCH]}" >> README.md |
289 | 289 | echo "" >> README.md |
290 | 290 | 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 |
385 | 385 | - **Key Type**: Sequential 32-bit integers |
386 | 386 | - **Value Size**: 100 bytes |
387 | 387 | - **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) |
389 | 389 |
|
390 | 390 | EOF |
391 | 391 |
|
|
0 commit comments