Debian Codegraph @

.github/workflows/benchmark.yml

raw
1 name: Benchmark
2
3 on:
4 workflow_dispatch:
5 push:
6 branches:
7 - master
8 - main
9 paths:
10 - "**"
11 - "!docs/**"
12 - "!**.md"
13 pull_request:
14 paths:
15 - "**"
16 - "!docs/**"
17 - "!**.md"
18
19 concurrency:
20 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
21 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
22
23 permissions:
24 deployments: write
25 contents: write
26 pull-requests: write
27
28 jobs:
29 benchmark:
30 uses: gofiber/.github/.github/workflows/benchmark.yml@main
31 with:
32 # ~9 months of default-branch pushes (59 in the 90 days before 2026-07)
33 max-items-in-chart: 180
34 # ~15 min per run for 86 top-level benchmarks; the weight sits in their 187
35 # b.Run sub-benchmarks, which stay with their parent, so the split is by name.
36 shards: 6