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

Function main

benchmark/crypto/get-ciphers.js:10–21  ·  view source on GitHub ↗
({ n, v })

Source from the content-addressed store, hash-verified

8});
9
10function main({ n, v }) {
11 const method = require(v).getCiphers;
12 let i = 0;
13 // First call to getCiphers will dominate the results
14 if (n > 1) {
15 for (; i < n; i++)
16 method();
17 }
18 bench.start();
19 for (i = 0; i < n; i++) method();
20 bench.end(n);
21}

Callers

nothing calls this directly

Calls 4

requireFunction · 0.50
methodFunction · 0.50
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…