mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ef38852213
The benchmark comparison workflow fails because it runs pnpm install
without setting up node and pnpm first. We configure the setup steps
manually so that checkouts from forks are supported.
Additionally, we update the benchmark comparison script (index.mts)
to use pnpm rather than hardcoded yarn commands to install
dependencies when checking out revisions.
(cherry picked from commit a648e8e914)
Benchmarks script
This folder contains a convenience script for running benchmarks and performing comparisons. It can
be run via pnpm benchmarks. See command line help for possible commands.
The benchmark script is used in conjunction with the benchmark compare GitHub actions workflow, allowing organization members to initiate a benchmark comparison via a GitHub comment in a PR.