diff options
Diffstat (limited to 'bench/install/README.md')
-rw-r--r-- | bench/install/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bench/install/README.md b/bench/install/README.md new file mode 100644 index 000000000..e9b617995 --- /dev/null +++ b/bench/install/README.md @@ -0,0 +1,18 @@ +# `install` benchmark + +Requires [`hyperfine`](https://github.com/sharkdp/hyperfine) + +``` +$ hyperfine --prepare 'rm -rf node_modules' --warmup 1 --runs 3 'bun install' 'pnpm install' 'yarn' 'npm install' +``` + +To check that the app is working as expected: + +``` +$ bun run dev +$ npm run dev +$ yarn dev +$ pnpm dev +``` + +Then visit [http://localhost:3000](http://localhost:3000). |