SkillAgentSearch skills...

Benchmarks

The npm CLI's benchmark suite

Install / Use

/learn @npm/Benchmarks
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
<img src="https://user-images.githubusercontent.com/459713/105940574-a1d5c880-6029-11eb-8461-9b57bff84c08.png" alt="" width="100%">

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

View on GitHub
GitHub Stars39
CategoryDevelopment
Updated1mo ago
Forks5

Languages

JavaScript

Security Score

95/100

Audited on Feb 3, 2026

No findings