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

Function enabledWithInitOnly

benchmark/async_hooks/promises.js:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }).enable();
22 },
23 enabledWithInitOnly() {
24 hook = createHook({
25 init() {},
26 }).enable();
27 },
28};
29
30const bench = common.createBenchmark(main, {

Callers

nothing calls this directly

Calls 2

createHookFunction · 0.50
enableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…