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

Function run_fn

deps/v8/test/js-perf-test/ArraySort/sort-base.js:132–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130// which, depending on the strategy, is either the worst- or best case.
131function createSortSuite(name, reference, run, setup, tearDown = () => {}) {
132 let run_fn = () => {
133 counter = 0;
134
135 setup();
136 run();
137 tearDown();
138 };
139
140 return createSuite(name, reference, run_fn);
141}

Callers

nothing calls this directly

Calls 3

setupFunction · 0.50
runFunction · 0.50
tearDownFunction · 0.50

Tested by

no test coverage detected