Skip to content

Commit 5abc165

Browse files
authored
Merge pull request #104 from retronym/topic/semi-colon-parser-redux
Also apply fix in #102 for the JFR profiler
2 parents b494b02 + cfd6b35 commit 5abc165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Profilers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ case object basic extends Profiler("basic") {
3535
def command(outDir: File): String = "-jvmArgs -Xprof -prof hs_comp -prof gc -prof stack -prof hs_rt -prof scala.tools.nsc.ThreadCpuTimeProfiler"
3636
}
3737
case object jfr extends Profiler("jfr") {
38-
def command(outDir: File): String = s"-prof jmh.extras.JFR:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true'"
38+
def command(outDir: File): String = s"""-prof "jmh.extras.JFR:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true" """
3939
}
4040
sealed abstract class async(event: String) extends Profiler("async-" + event) {
4141
val framebuf = 33554432

0 commit comments

Comments
 (0)