mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
6c2bf9e916
Summary: internal task: T35568575 Pull Request resolved: https://github.com/facebook/rocksdb/pull/5199 Differential Revision: D14962794 Pulled By: gfosco fbshipit-source-id: 93838ede6d0235eaecff90d200faed9a8515bbbe
14 lines
460 B
Bash
Executable file
14 lines
460 B
Bash
Executable file
# shellcheck disable=SC2148
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
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 $@
|