Toolbox for benchmarking YARN vs NPM.
./bench_npm.sh
./bench_yarn.sh
Here, you could change the config by editing the scripts.
2. Using npmvsyarn
./npmvsyarn.sh
- Build the container
docker build -t bench ./bench/
- Run the container (default config)
docker run bench
- Run with specific parameters
docker run -e LIBRARIES="gulp" -e PROJECTS="" bench
- Run
docker-compose up
Here, you could change the config by editing the file docker-compose.yml