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

Function test

benchmark/perf_hooks/usertiming.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13});
14
15function test() {
16 performance.mark('a');
17 performance.mark('b');
18 performance.measure('a to b', 'a', 'b');
19}
20
21function main({ n, observe }) {
22 const entryTypes = observe === 'all' ?

Callers 4

mainFunction · 0.70
benchmarkDefineFunction · 0.50
benchmarkExecuteFunction · 0.50

Calls 2

measureMethod · 0.80
markMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…