2024-03-04 23:03:26 +01:00
|
|
|
name: Indexing bench (push)
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
benchmarks:
|
|
|
|
name: Run and upload benchmarks
|
|
|
|
runs-on: benchmarks
|
|
|
|
timeout-minutes: 180 # 3h
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2024-06-25 17:00:50 +02:00
|
|
|
- uses: helix-editor/rust-toolchain@v1
|
2024-03-04 23:03:26 +01:00
|
|
|
with:
|
|
|
|
profile: minimal
|
|
|
|
|
|
|
|
# Run benchmarks
|
|
|
|
- name: Run benchmarks - Dataset ${BENCH_NAME} - Branch main - Commit ${{ github.sha }}
|
|
|
|
run: |
|
|
|
|
cargo xtask bench --api-key "${{ secrets.BENCHMARK_API_KEY }}" --dashboard-url "${{ vars.BENCHMARK_DASHBOARD_URL }}" --reason "Push on `main` [Run #${{ github.run_id }}](https://github.com/meilisearch/meilisearch/actions/runs/${{ github.run_id }})" -- workloads/*.json
|
|
|
|
|