mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-08 22:28:15 -05:00
* refactor: modularize server-fixture * Update crates/server-fixture/server/Cargo.toml add newline Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com> * test: add browser benches * fix deps * ci: run ci workflow for all pull requests (#571) * misc fixes * fix clippy * don't log a non-critical error to stderr * use incognito (mitigates random hangs) * add notes * distinguish prover kind when plotting --------- Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com> Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org> Co-authored-by: Ubuntu <ubuntu@ip-10-35-1-164.eu-central-1.compute.internal>
28 lines
768 B
YAML
28 lines
768 B
YAML
name: Run Benchmarks In The Browser
|
|
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=browser
|
|
|
|
- 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
|