mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 14:31:35 +00:00
b8eb32f8cf
Summary: Grandfather in super old lint issues to make a clean slate for moving forward that allows us to have stronger enforcement on new issues. Reviewed By: yiwu-arbug Differential Revision: D6821806 fbshipit-source-id: 22797d31ec58e9eb0255d3b66fedfcfcb0dc127c
13 lines
388 B
Bash
Executable file
13 lines
388 B
Bash
Executable file
# shellcheck disable=SC2148
|
|
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."
|
|
# shellcheck disable=SC2068
|
|
java -server -d$PLATFORM -XX:NewSize=4m -XX:+AggressiveOpts -Djava.library.path=target -cp "${ROCKS_JAR}:benchmark/target/classes" org.rocksdb.benchmark.DbBenchmark $@
|