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 results:

  • Number, returns the current process time