mocha-performance:摩卡测试套件背后的运行时性能分析

时间:2021-05-17 22:48:29
【文件属性】:
文件名称:mocha-performance:摩卡测试套件背后的运行时性能分析
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-17 22:48:29
JavaScript 摩卡性能 安装模块: $ npm install mocha-performance 在项目中添加一个npm脚本(并更正测试路径!): { "scripts" : { "performance" : "node --allow-natives-syntax ./node_modules/mocha/bin/_mocha --reporter mocha-performance ./test/**/*.js" , } } 生成性能统计信息: $ npm run performance > jsonapi-server@0.8.0 performance /home/ninj4/repos/jsonapi-server > node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha -
【文件预览】:
mocha-performance-master
----performance.js(4KB)
----package.json(363B)
----LICENSE(1KB)
----README.md(959B)

网友评论