Skip to content

Commit a08c84a

Browse files
authored
Merge pull request #54 from retronym/topic/profile
Increase frame-buffer in async-profiler
2 parents aca542d + c078e73 commit a08c84a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ commands += Command.custom((s: State) => Command.applyEffect(profParser(s))((lin
115115
def command(outDir: File): String = s"-prof jmh.extras.JFR:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true'"
116116
}
117117
object async extends Profiler("async") {
118-
def command(outDir: File): String = s"-prof jmh.extras.Async:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true;event=cpu" // + ";simpleName=true" TODO add this after upgrading next sbt-jmh release
118+
val framebuf = 16777216
119+
def command(outDir: File): String = s"-prof jmh.extras.Async:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true;event=cpu;framebuf=$framebuf" // + ";simpleName=true" TODO add this after upgrading next sbt-jmh release
119120
}
120121
object perfNorm extends Profiler("perfNorm") {
121122
def command(outDir: File): String = "-prof perfnorm"

0 commit comments

Comments
 (0)