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

npm/benchmarks

Folders and files

NameName
Last commit message
Last commit date
May 10, 2024
Sep 11, 2023
Sep 11, 2023
May 10, 2024
Sep 14, 2023
Sep 14, 2023
Apr 21, 2024
Dec 4, 2023
May 2, 2022
Dec 4, 2023
May 2, 2022
Jul 21, 2022
May 31, 2023
Nov 5, 2019
May 2, 2022
Mar 8, 2023
Jun 19, 2024
May 3, 2024

Repository files navigation

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