Module basic module

Module performance

performance Basic performance monitoring module

Reference method:

1
var performance = require('perf_hooks').performance;

Static function

now

Query the current process time

1
static Number performance.now();

Return result:

  • Number, Return the current process time