【文件属性】:
文件名称:easyperformance:一个易于使用的性能基准测试工具
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-29 07:46:14
JavaScript
轻松表现
一个易于使用的性能基准测试工具
使用:
var Performance = require('easyperformance');
var perf = new Performance(); // this is to allow multiple instances of performance to be used concurrently.
perf.start(); // this will start timing
...
do stuff
...
perf.stop(); // this will stop timing
...
do clean up
...
perf.outputTiming(); // this will console log timing
perf.setLogFile(__dirname+"/../../log.log"); //
【文件预览】:
easyperformance-master
----package.json(96B)
----lib.js(2KB)
----LICENSE(18KB)
----.gitignore(533B)
----README.md(785B)