-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from xuwei-k/slash-syntax
use new slash syntax
- Loading branch information
Showing
6 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
enablePlugins(JmhPlugin) | ||
mainClass in (Jmh, run) := Some("com.example.CustomRunnerApp") | ||
Jmh / run / mainClass := Some("com.example.CustomRunnerApp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# compile jmh sources all the way to ready to run bench class files | ||
> jmh:run -i 1 -wi 1 -f 1 .*Hello.* | ||
> Jmh/run -i 1 -wi 1 -f 1 .*Hello.* | ||
|
||
# check if the custom file was generated | ||
$ exists custom.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Expect a failure | ||
-> show jmh:managedSources | ||
-> show Jmh/managedSources | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# compile jmh sources all the way to ready to run bench class files | ||
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.* | ||
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.* | ||
|
||
# check if the csv file was generated | ||
$ exists jmh-result.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# compile jmh sources all the way to ready to run bench class files | ||
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.* | ||
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.* | ||
|
||
# check if the csv file was generated | ||
$ exists jmh-result.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# use the given class as runner | ||
> jmh:runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.* | ||
> Jmh/runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.* | ||
|
||
# check if the custom file was generated | ||
$ exists custom.out |