Skip to content

Commit

Permalink
Add async profiler opts to benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jvican committed Sep 12, 2018
1 parent 5785f86 commit 3abbe9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmark-bridge
3 changes: 2 additions & 1 deletion bin/run-benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ 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"
for benchmark in "${SBT_BLOOP_BENCHMARKS[@]}"; do
SBT_COMMANDS="$SBT_COMMANDS;$JMH_CMD .*HotBloopBenchmark.* $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
Expand Down
1 change: 0 additions & 1 deletion frontend/src/test/scala/bloop/tasks/TestUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ object TestUtil {
def getConfigDirForBenchmark(name: String): Path = {
testProjectsIndex
.get(name)
.map(a => a.getParent)
.orElse(localBenchmarksIndex.get(name))
.getOrElse(sys.error(s"Project ${name} does not exist at ${integrationsIndexPath}"))
}
Expand Down
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ val `bloop-build` = project
addSbtPlugin("ohnosequences" % "sbt-github-release" % "0.6.0"),
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.14"),
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0"),
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.27"),
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.3"),
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6"),
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.9.3"),
addSbtPlugin("ch.epfl.scala" % "sbt-release-early" % "2.1.1"),
Expand Down

0 comments on commit 3abbe9a

Please sign in to comment.