Skip to content

perf(merge): avoid arrow function in loop and avoid calling user-provided key generator more than once per item #7

perf(merge): avoid arrow function in loop and avoid calling user-provided key generator more than once per item

perf(merge): avoid arrow function in loop and avoid calling user-provided key generator more than once per item #7

Workflow file for this run

name: codspeed-benchmarks
on:
pull_request:
branches:
- "main"
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
node-version: '22.x'
cache: pnpm
- run: pnpm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pnpm bench