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

Function callNewWeak

benchmark/napi/ref/index.js:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const bench = common.createBenchmark(main, { n: [1e7] });
5
6function callNewWeak() {
7 addon.newWeak();
8}
9
10function main({ n }) {
11 addon.count = 0;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected