Skip to content

Commit

Permalink
Upgrade benchmark-bridge to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jvican committed Sep 12, 2018
1 parent 3abbe9a commit f5e5c60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion benchmark-bridge
14 changes: 7 additions & 7 deletions bin/run-benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ main() {
echo "Setting up the machine before benchmarks..."
/bin/bash "$BLOOP_HOME/benchmark-bridge/scripts/benv" set -nb -ns -nf -nl -ni || exit 1
SBT_COMMANDS="$SBT_COMMANDS;integrationSetUpBloop"
SBT_COMMANDS="$SBT_COMMANDS \"integrationSetUpBloop\""
SCALAC_SBT_BLOOP_BENCHMARKS=(
#"$BLOOP_LARGE_JMH_OPTIONS -p project=scala -p projectName=library"
#"$BLOOP_SMALL_JMH_OPTIONS -p project=mini-better-files -p projectName=mini-better-files"
)
for benchmark in "${SCALAC_SBT_BLOOP_BENCHMARKS[@]}"; do
SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD .*Hot.*Benchmark.* $benchmark"
SBT_COMMANDS="$SBT_COMMANDS \"$JMH_CMD .*Hot.*Benchmark.* $benchmark\""
done
SBT_BLOOP_BENCHMARKS=(
Expand All @@ -94,19 +94,19 @@ main() {
"/usr/lib/jvm/java-8-graal-ee/bin/java"
)
ASYNC_PROF_OPTS="-prof jmh.extras.Async:asyncProfilerDir=/repos/async-profiler;flameGraphDir=/repos/FlameGraph;flameGraphOpts=--minwidth,2;verbose=true"
ASYNC_PROF_OPTS="-prof jmh.extras.Async:asyncProfilerDir=/repos/async-profiler;flameGraphDir=/repos/FlameGraph;verbose=true;event=cpu;"
for benchmark in "${SBT_BLOOP_BENCHMARKS[@]}"; do
SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD .*HotBloopBenchmark.* $benchmark $ASYNC_PROF_OPTS"
#SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD .*Hot(Sbt|Bloop)Benchmark.* $benchmark"
SBT_COMMANDS="$SBT_COMMANDS \"$JMH_CMD .*HotBloopBenchmark.* $benchmark $ASYNC_PROF_OPTS\""
#SBT_COMMANDS="$SBT_COMMANDS \"$JMH_CMD .*Hot(Sbt|Bloop)Benchmark.* $benchmark\""
#for java_home in "${JAVA_HOMES[@]}"; do
# SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD .*HotBloopBenchmark.* $benchmark -jvm $java_home"
# SBT_COMMANDS="$SBT_COMMANDS \"$JMH_CMD .*HotBloopBenchmark.* $benchmark -jvm $java_home\""
#done
done
#BLOOP_BENCHMARKS=("$BLOOP_SMALL_JMH_OPTIONS bloop.ProjectBenchmark")
#for benchmark in "${BLOOP_BENCHMARKS[@]}"; do
# SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD $benchmark"
# SBT_COMMANDS="$SBT_COMMANDS \"$JMH_CMD $benchmark\""
#done
TARGET_LOG_FILE="$BLOOP_LOGS_DIR/benchmarks-$(date --iso-8601=seconds).log"
Expand Down

0 comments on commit f5e5c60

Please sign in to comment.