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

Function benchToJSON

benchmark/perf_hooks/time-origin.js:39–45  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

37}
38
39function benchToJSON(n) {
40 bench.start();
41 for (let i = 0; i < n; i++) {
42 performance.toJSON();
43 }
44 bench.end(n);
45}

Callers 1

mainFunction · 0.85

Calls 3

startMethod · 0.45
toJSONMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…