-
Notifications
You must be signed in to change notification settings - Fork 3
Benchmark results in local laptop
Aaron Riekenberg edited this page Feb 7, 2023
·
3 revisions
Results in local laptop using JDK 17. Running on a 2018 MacBook Pro, 6 core Intel i7 2.2ghz, 32GB RAM, MacOS 12.6.2.
In the OffHeapGetPutBenchmark test NMA and RocksDB are populated with 50,000 byte array values of size 100KB each (5GB of data)
The keys are the strings "0" - "49999"
In NMA tests data is not persisted on disk.
JMH Configuration:
# JMH version: 1.35
# VM version: JDK 17, OpenJDK 64-Bit Server VM, 17+35
# VM invoker: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java
# VM options: -Xmx4G
# Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 5 iterations, 10 s each
# Measurement: 5 iterations, 10 s each
# Timeout: 10 min per iteration
# Threads: 8 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
Run Command:
./gradlew clean jmh
JMH Output:
Benchmark (cacheType) Mode Cnt Score Error Units
OffHeapGetPutBenchmark.read_only NMA thrpt 5 164763.899 ± 16564.266 ops/s
OffHeapGetPutBenchmark.read_only RocksDB thrpt 5 27751.798 ± 12235.363 ops/s
OffHeapGetPutBenchmark.readwrite NMA thrpt 5 154532.193 ± 2960.387 ops/s
OffHeapGetPutBenchmark.readwrite:readwrite_get NMA thrpt 5 127568.808 ± 2630.659 ops/s
OffHeapGetPutBenchmark.readwrite:readwrite_put NMA thrpt 5 26963.385 ± 773.699 ops/s
OffHeapGetPutBenchmark.readwrite RocksDB thrpt 5 25325.113 ± 13249.003 ops/s
OffHeapGetPutBenchmark.readwrite:readwrite_get RocksDB thrpt 5 24175.975 ± 12069.712 ops/s
OffHeapGetPutBenchmark.readwrite:readwrite_put RocksDB thrpt 5 1149.138 ± 1360.342 ops/s
OffHeapGetPutBenchmark.write_only NMA thrpt 5 78695.587 ± 8341.981 ops/s
OffHeapGetPutBenchmark.write_only RocksDB thrpt 5 2390.793 ± 1106.728 ops/s