2023-09-16 21:14:31 +01:00
|
|
|
name: Benchmarks
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
Run-Benchmarks:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
env:
|
|
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
steps:
|
2023-09-16 21:37:29 +01:00
|
|
|
- name: Install time
|
|
|
|
run: |
|
|
|
|
apt-get update -y
|
|
|
|
apt-get install -y time
|
2023-09-16 21:14:31 +01:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- run: cd ${{ github.workspace }}
|
|
|
|
- name: Run benchmark
|
|
|
|
run: |
|
|
|
|
cd benchmark/
|
2023-09-16 22:06:19 +01:00
|
|
|
bash benchmark.sh python3 ../../run-tests.py
|
2023-09-16 21:14:31 +01:00
|
|
|
- name: Run baseline benchmark
|
|
|
|
run: |
|
|
|
|
cd benchmark/
|
2023-09-18 13:47:56 +01:00
|
|
|
bash benchmark.sh python3 ../run-tests-benchmark-baseline.py
|
|
|
|
- name: Run throughput benchmark
|
|
|
|
run: |
|
|
|
|
cd benchmark/
|
|
|
|
bash benchmark-throughput.sh python3 ../../run-tests.py
|