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

Function done

benchmark/crypto/kem.js:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86function measureAsync(n, op, key, keys, ciphertexts) {
87 let remaining = n;
88 function done() {
89 if (--remaining === 0)
90 bench.end(n);
91 else
92 one();
93 }
94
95 function one() {
96 const k = key || keys[n - remaining];

Callers 1

mainFunction · 0.50

Calls 2

oneFunction · 0.70
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…