Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
39
function
benchToJSON(n) {
40
bench.start();
41
for
(
let
i = 0; i < n; i++) {
42
performance.toJSON();
43
}
44
bench.end(n);
45
}
Callers
1
main
Function · 0.85
Calls
3
start
Method · 0.45
toJSON
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…