} }, idleTime: { enumerable: true, configurable: true, get: loopIdleTime, } }); } [kInspect](depth, options) { if (depth < 0) return this; const opts = { ...options, depth: options.depth == null ? null : options.depth - 1 }; return `PerformanceNodeTiming ${inspect(this.toJSON(), opts)}`; } toJSON() { return { name: 'node', entryType: 'node', startTime: this.startTime, duration: this.duration, nodeStart: this.nodeStart, v8Start: this.v8Start, bootstrapComplete: this.bootstrapComplete, environment: this.environment, loopStart: this.loopStart, loopExit: this.loopExit, idleTime: this.idleTime, }; } } ObjectSetPrototypeOf( PerformanceNodeTiming.prototype, PerformanceEntry.prototype); module.exports = new PerformanceNodeTiming();