MCPcopy Create free account
hub / github.com/nodejs/node / run

Function run

deps/v8/test/js-perf-test/Proxies/proxies.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 p = new Proxy(target, {});
28 },
29 run() {
30 for(var i = 0; i < ITERATIONS; i++) {
31 result = p();
32 }
33 },
34 teardown() {
35 assert(result === SOME_NUMBER, `wrong result: ${result}`);
36 }

Callers 1

run_fnFunction · 0.50

Calls 2

pFunction · 0.50
callMethod · 0.45

Tested by

no test coverage detected