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

Function mark

lib/internal/perf/usertiming.js:167–172  ·  view source on GitHub ↗
(name, options)

Source from the content-addressed store, hash-verified

165}
166
167function mark(name, options) {
168 const mark = new PerformanceMark(name, options);
169 enqueue(mark);
170 bufferUserTiming(mark);
171 return mark;
172}
173
174function calculateStartDuration(startOrMeasureOptions, endMark) {
175 startOrMeasureOptions ??= 0;

Callers 3

markMethod · 0.70
markMethod · 0.50
propagateMethod · 0.50

Calls 2

bufferUserTimingFunction · 0.85
enqueueFunction · 0.70

Tested by

no test coverage detected