Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npm/benchmarks
The npm CLI's benchmark suite
https://github.com/npm/benchmarks
actions benchmarks github npm npm-cli performance probot templates testing
Last synced: 3 days ago
JSON representation
The npm CLI's benchmark suite
- Host: GitHub
- URL: https://github.com/npm/benchmarks
- Owner: npm
- License: mit
- Archived: true
- Created: 2019-11-05T15:14:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T02:11:22.000Z (7 months ago)
- Last Synced: 2024-09-27T08:02:24.797Z (4 months ago)
- Topics: actions, benchmarks, github, npm, npm-cli, performance, probot, templates, testing
- Language: JavaScript
- Homepage:
- Size: 1.34 MB
- Stars: 36
- Watchers: 10
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
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:
```bash
./bin/benchmark.js -m all -b all -f app-large -g
```**Note:** Graph generation pulled from [pnpm/benchmarks-of-javascript-package-managers](https://github.com/pnpm/benchmarks-of-javascript-package-managers)