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

Function startPerf

lib/internal/perf/observe.js:546–551  ·  view source on GitHub ↗
(target, key, context = kEmptyObject)

Source from the content-addressed store, hash-verified

544
545
546function startPerf(target, key, context = kEmptyObject) {
547 target[key] = {
548 ...context,
549 startTime: now(),
550 };
551}
552
553function stopPerf(target, key, context = kEmptyObject) {
554 const ctx = target[key];

Callers 13

_http_client.jsFile · 0.85
internalConnectFunction · 0.85
afterConnectMultipleFunction · 0.85
lookupFunction · 0.85
lookupServiceFunction · 0.85
ServerResponseFunction · 0.85
queryFunction · 0.85
createLookupPromiseFunction · 0.85
createResolverPromiseFunction · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…