Run Benchmarks #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Benchmarks | |
on: | |
# manual trigger | |
workflow_dispatch: | |
jobs: | |
run-benchmarks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build Docker Image | |
run: | | |
docker build -t tlsn-bench . -f ./crates/benches/binary/benches.Dockerfile --build-arg BENCH_TYPE=native | |
- name: Run Benchmarks | |
run: | | |
docker run --privileged -v ${{ github.workspace }}/crates/benches/binary:/benches tlsn-bench | |
- name: Upload runtime_vs_latency.html | |
uses: actions/upload-artifact@v4 | |
with: | |
name: benchmark_graphs | |
path: | | |
./crates/benches/binary/runtime_vs_latency.html | |
./crates/benches/binary/runtime_vs_bandwidth.html |