mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-29 18:33:58 +00:00
8 lines
266 B
Bash
Executable file
8 lines
266 B
Bash
Executable file
PLATFORM=64
|
|
if [ `getconf LONG_BIT` != "64" ]
|
|
then
|
|
PLATFORM=32
|
|
fi
|
|
echo "Running benchmark in $PLATFORM-Bit mode."
|
|
java -server -d$PLATFORM -XX:NewSize=4m -XX:+AggressiveOpts -Djava.library.path=.:../ -cp "rocksdbjni.jar:.:./*" org.rocksdb.benchmark.DbBenchmark $@
|