Skip to content

Commit

Permalink
Add action for Elastic APM
Browse files Browse the repository at this point in the history
  • Loading branch information
DaGeRe committed Nov 28, 2024
1 parent f9b8bf4 commit ddb44bb
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/benchmarkElasticAPM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Benchmark Kieker-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: 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/elasticapm-java/
export NUM_OF_LOOPS=10
export MOOBENCH_CONFIGURATIONS="0 1 2 3"
./benchmark.sh
cd results-elasticapm-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: 'ElasticAPM-java'
tool: 'customSmallerIsBetter'
output-file-path: output.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true

0 comments on commit ddb44bb

Please sign in to comment.