fprofile:JavaScript函数分析

时间:2021-05-01 21:06:43
【文件属性】:
文件名称:fprofile:JavaScript函数分析
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-01 21:06:43
JavaScript fprofile 一个简单的功能分析器。 该工具挂接到函数(独立方法或类方法)并评估其执行时间,如果切换了详细模式,还将打印其返回类型和值。 安装 $ npm install fprofile 用法 var profile = require ( 'fprofile' ) ; /** * Adds profiling hooks to object's function(s) * @param { Object/Function } object or function * @param { Number } threshold, profiler will ignore execution times (in ms) below this value * @param { Boolean } verbose mode **/ profile ( object , thres
【文件预览】:
fprofile-master
----test.js(554B)
----package.json(657B)
----main.js(2KB)
----LICENSE.md(1KB)
----README.md(1KB)

网友评论