-
Notifications
You must be signed in to change notification settings - Fork 31
58 lines (52 loc) · 1.3 KB
/
codspeed.yml
File metadata and controls
58 lines (52 loc) · 1.3 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CodSpeed
on:
push:
branches:
- master
pull_request:
branches:
- master
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
matrix:
benchmark:
- tip5
- ntt
- evaluation
- extrapolation
- coset_extrapolation
- poly_mod_reduce
- interpolation
- poly_mul
- poly_scalar_mul
- poly_scale
- merkle_tree
- merkle_tree_authenticate
- merkle_tree_auth_structure_size
- various_muls
- zerofier
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install codspeed
uses: taiki-e/install-action@v2
with:
tool: cargo-codspeed
- name: Build benchmarks
run: cargo codspeed build --bench ${{ matrix.benchmark }}
- name: Run benchmarks
uses: CodSpeedHQ/action@v4
with:
run: cargo codspeed run
mode: "simulation"