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, returns the current process time