Skip to content

Commit 19acbe8

Browse files
committed
run jmh bench and output as json
Signed-off-by: christian.lutnik <[email protected]>
1 parent c8a4172 commit 19acbe8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- java: 11
1717
profile: java11
1818
name: with Java ${{ matrix.build.java }}
19-
runs-on: ${{ matrix.os}}
19+
runs-on: ${{ matrix.os }}
2020
steps:
2121
- name: Check out the code
2222
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f
@@ -56,10 +56,7 @@ jobs:
5656

5757
- if: matrix.build.java == '17'
5858
name: Run JMH benchmark
59-
run: mvn --activate-profiles benchmark jmh:benchmark -rf json -rff output.json .*
60-
#run: |
61-
# 'mvn clean compile'
62-
# 'mvn jmh:benchmark -rf json -rff output.json .*'
59+
run: mvn --activate-profiles benchmark jmh:benchmark "-Djmh.rf=json" "-Djmh.rff=benchmark/results/results.json"
6360

6461
- name: Perform CodeQL Analysis
6562
uses: github/codeql-action/analyze@624d0bca90f761ffa7ce50c41875a1a226969a02

0 commit comments

Comments
 (0)