MCPcopy
hub / github.com/tinyplex/tinybase / µs

Function µs

test/perf/common.ts:94–98  ·  view source on GitHub ↗
(actions: () => void)

Source from the content-addressed store, hash-verified

92};
93
94export const µs = (actions: () => void): number => {
95 const start = performance.now();
96 actions();
97 return 1000 * (performance.now() - start);
98};
99
100export const getNTables = (N: number): Tables => {
101 const tables: Tables = {};

Callers 4

benchmark.test.tsFile · 0.90
repeatRowsFunction · 0.85

Calls 1

actionsFunction · 0.85

Tested by

no test coverage detected