forked from kieker-monitoring/moobench
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (58 loc) · 1.73 KB
/
Copy pathbenchmarkPinpointJava.yaml
File metadata and controls
61 lines (58 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Benchmark Pinpoint-java
on:
workflow_dispatch:
push:
branches: [ main, continuous-gh-benchmarks ]
schedule:
- cron: "0 3 * * *"
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Performance measurement
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: '3.5.3'
- uses: actions/setup-go@v4
with:
go-version: "stable"
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Execute MooBench Benchmark
run: |
./setup.sh
cd frameworks/pinpoint-java/
export MOOBENCH_CONFIGURATIONS="0 1 3 4"
export NUM_OF_LOOPS=10
./benchmark.sh
cd results-pinpoint-java
unzip results.zip
../../../analysis/getGHActionsFormat.sh > output.json
cat output.json
mv output.json ../../../
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: 'Pinpoint-java'
tool: 'customSmallerIsBetter'
output-file-path: output.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
- name: Analyze benchmark results with Nyrkiö
uses: nyrkio/change-detection@HEAD
with:
name: 'Pinpoint-java'
tool: 'customSmallerIsBetter'
output-file-path: output.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
nyrkio-token: ${{ secrets.NYRKIO_JWT_TOKEN }}
auto-push: true