File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
plugin/src/sbt-test/sbt-jmh Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11enablePlugins(JmhPlugin )
2- mainClass in ( Jmh , run) := Some (" com.example.CustomRunnerApp" )
2+ Jmh / run / mainClass := Some (" com.example.CustomRunnerApp" )
Original file line number Diff line number Diff line change 11# compile jmh sources all the way to ready to run bench class files
2- > jmh: run -i 1 -wi 1 -f 1 .*Hello.*
2+ > Jmh/ run -i 1 -wi 1 -f 1 .*Hello.*
33
44# check if the custom file was generated
55$ exists custom.out
Original file line number Diff line number Diff line change 11# Expect a failure
2- -> show jmh: managedSources
2+ -> show Jmh/ managedSources
33
Original file line number Diff line number Diff line change 11# compile jmh sources all the way to ready to run bench class files
2- > jmh: run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
2+ > Jmh/ run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
33
44# check if the csv file was generated
55$ exists jmh-result.csv
Original file line number Diff line number Diff line change 11# compile jmh sources all the way to ready to run bench class files
2- > jmh: run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
2+ > Jmh/ run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
33
44# check if the csv file was generated
55$ exists jmh-result.csv
Original file line number Diff line number Diff line change 11# use the given class as runner
2- > jmh: runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*
2+ > Jmh/ runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*
33
44# check if the custom file was generated
55$ exists custom.out
You can’t perform that action at this time.
0 commit comments