MCPcopy Index your code
hub / github.com/nodejs/node / getEntriesByType

Method getEntriesByType

lib/internal/perf/performance.js:112–119  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

110 }
111
112 getEntriesByType(type) {
113 validateThisInternalField(this, kPerformanceBrand, 'Performance');
114 if (arguments.length === 0) {
115 throw new ERR_MISSING_ARGS('type');
116 }
117 type = `${type}`;
118 return filterBufferMapByNameAndType(undefined, type);
119 }
120
121 mark(name, options = kEmptyObject) {
122 validateThisInternalField(this, kPerformanceBrand, 'Performance');

Calls 1

Tested by

no test coverage detected