-
Notifications
You must be signed in to change notification settings - Fork 23
45 lines (37 loc) · 974 Bytes
/
bench.yml
File metadata and controls
45 lines (37 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Benchmarks
on:
workflow_dispatch:
inputs:
baseline:
description: "Baseline name to save/compare"
required: false
default: "ci-baseline"
jobs:
bench:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Run benches (no FAISS)
env:
BASELINE_NAME: ${{ github.event.inputs.baseline }}
ENABLE_FAISS_BENCH: "0"
run: |
make bench
- name: Generate report
run: |
make bench-report
- name: Upload reports
uses: actions/upload-artifact@v4
with:
name: benchmark-reports
path: |
benchmarks/reports/**
benchmarks/artifacts/**
if-no-files-found: warn