mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 13:41:46 +00:00
11 lines
332 B
Bash
Executable file
11 lines
332 B
Bash
Executable file
PLATFORM=64
|
|
if [ `getconf LONG_BIT` != "64" ]
|
|
then
|
|
PLATFORM=32
|
|
fi
|
|
|
|
ROCKS_JAR=`find target -name rocksdbjni*.jar`
|
|
|
|
echo "Running benchmark in $PLATFORM-Bit mode."
|
|
java -server -d$PLATFORM -XX:NewSize=4m -XX:+AggressiveOpts -Djava.library.path=target -cp "${ROCKS_JAR}:benchmark/target/classes" org.rocksdb.benchmark.DbBenchmark $@
|