MCPcopy
hub / github.com/lelandrichardson/react-primitives / done

Function done

example/benchmarks/benchmark.js:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 teardown();
18
19 const done = () => {
20 const avg = times.reduce((sum, time) => sum + time) / runs;
21
22 console.log(`FINISHED BENCHMARK: ${name}`);
23 console.log(` First run: ${fmt(first)}`);
24 console.log(` Average: ${fmt(avg)}`);
25 resolve(avg);
26 };
27
28 const a = () => {
29 setup();

Callers

nothing calls this directly

Calls 2

fmtFunction · 0.85
resolveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…