Skip to content

oven-sh/isolated-install-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isolated Install Benchmark: aws-sdk-js-v3

This is a snapshot of the aws-sdk-js-v3 repository for benchmarking isolated package installations across bun, yarn, npm, and pnpm.

The following changes have been made in order for installs to work for each package manager:

  • removed @biomejs/cli-darwin-arm64 and @biomejs/cli-linux-x64-musl from ./package.json (npm)
  • removed package-lock.json from .gitignore
  • removed @aws-sdk/aws-protocoltests-json from ./private/aws-util-test/package.json due to missing workspace: (pnpm)
  • added pnpm-workspace.yaml
  • changed nodeLinker to pnpm and added enableScripts: false to .yarnrc.yml
  • "workspaces.packages" -> "workspaces" (npm)
  • added .npmrc with install-strategy=linked and ignore-scripts=true for bun, npm, and pnpm

Benchmarks

# fresh cached install (no existing node_modules)
hyperfine --prepare "rm -rf node_modules ./*/*/node_modules" "bun install" "yarn install" "pnpm install" "npm install" --warmup 2

# no-op install (fully populated node_modules)
hyperfine --setup "rm -rf node_modules ./*/*/node_modules" "bun install" "yarn install" "pnpm install" "npm install" --warmup 2

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 164