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 missingworkspace:
(pnpm) - added
pnpm-workspace.yaml
- changed
nodeLinker
topnpm
and addedenableScripts: false
to.yarnrc.yml
"workspaces.packages"
->"workspaces"
(npm)- added
.npmrc
withinstall-strategy=linked
andignore-scripts=true
for bun, npm, and pnpm
# 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