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

Method clearResourceTimings

lib/internal/perf/performance.js:87–93  ·  view source on GitHub ↗
(name = undefined)

Source from the content-addressed store, hash-verified

85 }
86
87 clearResourceTimings(name = undefined) {
88 validateThisInternalField(this, kPerformanceBrand, 'Performance');
89 if (name !== undefined) {
90 name = `${name}`;
91 }
92 clearEntriesFromBuffer('resource', name);
93 }
94
95 getEntries() {
96 validateThisInternalField(this, kPerformanceBrand, 'Performance');

Callers 7

mainFunction · 0.80
mainFunction · 0.80
clearBufferAndSetSizeFunction · 0.80

Calls 1

clearEntriesFromBufferFunction · 0.85

Tested by

no test coverage detected