[fs.walk]: Support AbortSignal #99
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: | |
push: | |
branches: | |
- master | |
- releases/* | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
inputs: | |
warmup_count: | |
description: Perform NUM warmup runs sequentially before the actual benchmark. | |
type: string | |
required: true | |
runs_count: | |
description: Perform exactly NUM runs for each command. | |
type: string | |
required: true | |
jobs: | |
regress: | |
name: Benchmark | |
concurrency: | |
group: ${{ github.workflow }}-benchmark-${{ github.ref }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repository | |
uses: actions/checkout@v3 | |
- name: Setup environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install root dependencies | |
run: npm install | |
- name: Link package dependencies | |
run: npx lerna bootstrap | |
- name: Compile sources | |
run: npm run compile | |
- name: Benchmark | |
run: npm run bench | |
env: | |
WARMUP_COUNT: ${{ inputs.warmup_count }} | |
RUNS_COUNT: ${{ inputs.runs_count }} |