-
-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (44 loc) · 1.31 KB
/
internal-benchmark.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
36
37
38
39
40
41
42
43
44
45
46
name: Internal benchmark
on:
workflow_dispatch:
push:
branches:
- master
jobs:
internal-benchmark:
if: github.repository == 'poolifier/poolifier-web-worker'
runs-on:
group: default
labels: [self-hosted, internal-benchmark]
env:
BENCHER_PROJECT: poolifier-web-worker
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
BENCHER_ADAPTER: json
BENCHER_TESTBED: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- uses: bencherdev/bencher@main
- name: Run benchmark
run: |
bencher run \
--branch master \
--threshold-measure latency \
--threshold-test t_test \
--threshold-max-sample-size 64 \
--threshold-lower-boundary _ \
--threshold-upper-boundary 0.99 \
--threshold-measure throughput \
--threshold-test t_test \
--threshold-max-sample-size 64 \
--threshold-lower-boundary 0.99 \
--threshold-upper-boundary _ \
--thresholds-reset \
--file benchmark-report.json \
--err \
--github-actions ${{ secrets.GITHUB_TOKEN }} \
"deno task benchmark:tatami-ng"