-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) 路 1.11 KB
/
Copy pathbenchmark.yml
File metadata and controls
47 lines (39 loc) 路 1.11 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
name: Zsh Startup Benchmark
on:
push:
branches: [main]
concurrency:
group: benchmark
cancel-in-progress: false
permissions:
deployments: write
contents: write
jobs:
benchmark:
name: Zsh Startup Time
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-bench-env
id: env
- name: Disable git commit signing
run: git config --global commit.gpgsign false
- uses: ./.github/actions/run-benchmark
with:
hm_gen: ${{ steps.env.outputs.hm_gen }}
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Zsh Startup Time
tool: customSmallerIsBetter
output-file-path: benchmark-result.json
benchmark-data-dir-path: .
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: "150%"
comment-on-alert: true
comment-always: true
fail-on-alert: true
summary-always: true
alert-comment-cc-users: "@lemtoc"