使用控制变量法进行自动化测试。
pnpm i
pnpm benchmarkxxx/run-[fixture.name || fixture.index]-results/benchmark.htmlxxx/run-[fixture.name || fixture.index]-results/benchmark.json
tsx: Executing code in node using ESM and TS.uuid: Generate a random temporary directory.chalk: Beautifying console output.rimraf: For file deletion.typescript: Written with TS.iconv-lite: Solving the problem of messy Chinese output on the console.cross-spawn: Cross-platform compatible sub-process calls.
系统参数:
CPURAMDISKNodeProject
测试参数:
cachelockfilenode_modules
公平参数:
registrycacheDirstoreDirignoreScriptsignoreEnginesignorePeerDeps
| command | cache | lockfile | node_modules |
|---|---|---|---|
install |
|||
install |
✔ | ✔ | ✔ |
install |
✔ | ||
install |
✔ | ||
install |
✔ | ||
install |
✔ | ✔ | |
install |
✔ | ✔ | |
install |
✔ | ✔ | |
dynamic |
N/A | N/A | N/A |
- 可视化输出
- 安装命令
- 系统配置
- 磁盘占用
- 跨平台兼容
- 文件删除
- 异步删除
- 删除耗时
- 删除进度
- 支持
monorepo - 支持多线程(支持限制系统参数)
- Rewritten with Rust