Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ measure
Function
measure
benchmark/crypto/create-keyobject.js:53–59 ·
view source on GitHub ↗
(n, fn, input)
Source
from the content-addressed store, hash-verified
51
});
52
53
function
measure(n, fn, input) {
54
bench.start();
55
for
(
let
i = 0; i < n; ++i) {
56
fn(input);
57
}
58
bench.end(n);
59
}
60
61
function
main({ n, keyFormat, keyType }) {
62
const
keyPair = {
Callers
1
main
Function · 0.70
Calls
3
fn
Function · 0.50
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…