Use paralellelRequests instead of connections to calculate req/sec in benchmarks #7504
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: Fuzzing | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
fuzzing: | |
name: Fuzz | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
persist-credentials: false | |
- name: Setup Node | |
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: | | |
npm install | |
- name: Run fuzzing | |
timeout-minutes: 10 | |
run: | | |
npm run fuzz | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
if: ${{ failure() }} | |
with: | |
name: undici-fuzz-results-${{ github.sha }} | |
path: | | |
corpus/ | |
crash-* | |
fuzz-results-*.json |