Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ jobs:
run: nohup make runBenchmark & nohup make runZenDisabled &
- name: Install K6
uses: grafana/setup-k6-action@ffe7d7290dfa715e48c2ccc924d068444c94bde2 # v1
- name: Run flask-mysql k6 Benchmark
run: |
k6 run -q ./benchmarks/flask-mysql-benchmarks.js
- name: Run flask-mysql k6 Benchmark (max 3 attempts)
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 20
max_attempts: 3
command: |
k6 run -q ./benchmarks/flask-mysql-benchmarks.js

wrk_benchmarks:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -93,6 +97,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y wrk
- name: Run benchmarks
working-directory: ./benchmarks/wrk_benchmark
run: make benchmark_${{ matrix.app }}
- name: Run benchmarks (max 3 attempts)
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 20
max_attempts: 3
command: |
cd ./benchmarks/wrk_benchmark && make benchmark_${{ matrix.app }}