This repo is a clone of ApostropheCMS boilerplate (for testing large package installations) https://github.com/apostrophecms/a3-boilerplate with added:
- basic benchmarking scripts including such that are measuring performance of
bunvsnpmpackage managing - varios JS Framework apps created by or wired with bun
- TS configuration and script to illustrate the Bun's native support on that front
Install bun - https://bun.sh/
# run once npm install with no cache
./npm-no-cache
# run once bun install with no cache
./bun-no-cache
# run once npm install with cache
./npm-cache
# run once bun install with cache
./bun-cache
# run any of the above scripts in a loop
for i in {1..5}; do ./bun-cache; doneThese are used for benchmarking and for exploring the most notable Bun features. The details on what they do are available in the Discussion post (see below).
bun-copy-content-thousand-times.mjsnode-copy-content-thousand-times.mjscopy-thousand-times.mjscopy-thousand-times-2.mjswrite-thousand-times.mjsts/copy-thousand-times.mtsapps/nextjsapps/nextjs-demoapps/reactjsapps/reactjs-todo