UNPKG

arquero

Version:

Query processing and transformation of array-backed data tables.

8 lines (6 loc) 186 B
import { performance } from 'perf_hooks'; export async function time(fn, ...args) { const t0 = performance.now(); await fn(...args); return Math.round(performance.now() - t0); };