devoxx17_quickie_yarn:对YARN和NPM进行基准测试的工具箱

  • z2_356426
    了解作者
  • 4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-11 23:05
    上传日期
devoxx17_quickie_yarn:对YARN和NPM进行基准测试的工具箱
devoxx17_quickie_yarn-master.zip
  • devoxx17_quickie_yarn-master
  • scripts
  • bench_npm.sh
    597B
  • bench_yarn.sh
    1KB
  • npmvsyarn
  • Dockerfile
    367B
  • docker-compose.yml
    710B
  • bench.sh
    1.3KB
  • npmvsyarn.sh
    317B
  • README.md
    749B
  • .gitignore
    8B
内容介绍
# Devoxx FR 2017 - Quickie 'Yarn, encore un package manager?' Toolbox for benchmarking YARN vs NPM. ## Getting Started ### 1. Using custom scripts ``` ./bench_npm.sh ./bench_yarn.sh ``` Here, you could change the config by editing the scripts. ### 2. Using [npmvsyarn](https://github.com/supreetpal/npmvsyarn) #### TL/DR ``` ./npmvsyarn.sh ``` #### Via docker * 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 ``` #### Via docker-compose * Run ``` docker-compose up ``` Here, you could change the config by editing the file `docker-compose.yml`
评论
    相关推荐