模块 performance
performance 基础性能监控模块
引用方法:
1var performance = require('perf_hooks').performance;
静态函数
now
查询当前进程时间
1static Number performance.now();
返回结果:
- Number, 返回当前进程时间
performance 基础性能监控模块
引用方法:
1var performance = require('perf_hooks').performance;
查询当前进程时间
1static Number performance.now();
返回结果: