Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ benchmark
Function
benchmark
benchmark/util/inspect.js:31–37 ·
view source on GitHub ↗
(n, obj, options)
Source
from the content-addressed store, hash-verified
29
});
30
31
function
benchmark(n, obj, options) {
32
bench.start();
33
for
(
let
i = 0; i < n; i += 1) {
34
util.inspect(obj, options);
35
}
36
bench.end(n);
37
}
38
39
function
main({ method, n, option }) {
40
let
obj;
Callers
1
main
Function · 0.70
Calls
3
inspect
Method · 0.80
start
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…