-
Notifications
You must be signed in to change notification settings - Fork 174
35 lines (30 loc) · 1.01 KB
/
benchmarks.yml
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
name: Benchmarks
on:
schedule:
- cron: "0 5 * * 6" # Every Saturday at 5:00 UTC
push:
branches:
- master
jobs:
bench:
name: Benchmarks
runs-on: parity-benchmark
container:
image: "paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240109"
steps:
- name: Checkout Sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Rust Cache
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
- name: run benchmarks
run: cargo bench -p jsonrpsee-benchmarks -- --output-format bencher | tee output.txt
- name: Store benchmark result
uses: rhysd/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
with:
tool: "cargo"
output-file-path: "output.txt"
benchmark-data-dir-path: "bench/dev2"
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
auto-push: true