Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (27 loc) · 1.14 KB

README.md

File metadata and controls

51 lines (27 loc) · 1.14 KB

benchmarks

Benchmark tooling for the npm cli

Options:

manager (alias -m)

Type: Array

Options: all, npm, yarn, pnpm ...

List of package managers to benchmark (must be npm installable strings)

fixture (alias -f)

Type: Array

Options: all, angular-quickstart, app-large, app-medium, ember-quickstart, eslint-config, mixcreant, react-app, tsconfig

List of fixtures to run the given benchmarks against

benchmark (alias -b)

Type: Array

Options: all, clean, lock-only, cache-only, modules-only, no-lock, no-cache, no-modules, no-clean

List of benchmarks to run

report (alias -r)

Type: Boolean

Generate a text report

graph (alias -g)

Type: Boolean

Generate a svg graph

Example usage:

./bin/benchmark.js -m all -b all -f app-large -g

Note: Graph generation pulled from pnpm/benchmarks-of-javascript-package-managers