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

Method mark

lib/internal/perf/performance.js:121–127  ·  view source on GitHub ↗
(name, options = kEmptyObject)

Source from the content-addressed store, hash-verified

119 }
120
121 mark(name, options = kEmptyObject) {
122 validateThisInternalField(this, kPerformanceBrand, 'Performance');
123 if (arguments.length === 0) {
124 throw new ERR_MISSING_ARGS('name');
125 }
126 return mark(name, options);
127 }
128
129 measure(name, startOrMeasureOptions = kEmptyObject, endMark = undefined) {
130 validateThisInternalField(this, kPerformanceBrand, 'Performance');

Calls 1

markFunction · 0.70

Tested by 1

testFunction · 0.36