%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
'use strict'; const { ObjectDefineProperties, ObjectSetPrototypeOf, } = primordials; const { PerformanceEntry } = require('internal/perf/performance_entry'); const { now, getMilestoneTimestamp, } = require('internal/perf/utils'); const { customInspectSymbol: kInspect, } = require('internal/util'); const { inspect } = require('util'); const { constants: { NODE_PERFORMANCE_MILESTONE_NODE_START, NODE_PERFORMANCE_MILESTONE_V8_START, NODE_PERFORMANCE_MILESTONE_LOOP_START, NODE_PERFORMANCE_MILESTONE_LOOP_EXIT, NODE_PERFORMANCE_MILESTONE_BOOTSTRAP_COMPLETE, NODE_PERFORMANCE_MILESTONE_ENVIRONMENT }, loopIdleTime, } = internalBinding('performance'); class PerformanceNodeTiming { constructor() { ObjectDefineProperties(this, { name: { __proto__: null, enumerable: true, configurable: true, value: 'node' }, entryType: { __proto__: null, enumerable: true, configurable: true, value: 'node' }, startTime: { __proto__: null, enumerable: true, configurable: true, value: 0 }, duration: { __proto__: null, enumerable: true, configurable: true, get: now }, nodeStart: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp(NODE_PERFORMANCE_MILESTONE_NODE_START); } }, v8Start: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp(NODE_PERFORMANCE_MILESTONE_V8_START); } }, environment: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp(NODE_PERFORMANCE_MILESTONE_ENVIRONMENT); } }, loopStart: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp(NODE_PERFORMANCE_MILESTONE_LOOP_START); } }, loopExit: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp(NODE_PERFORMANCE_MILESTONE_LOOP_EXIT); } }, bootstrapComplete: { __proto__: null, enumerable: true, configurable: true, get() { return getMilestoneTimestamp( NODE_PERFORMANCE_MILESTONE_BOOTSTRAP_COMPLETE); } }, idleTime: { __proto__: null, 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();