14 lines
352 B
TypeScript
Raw Permalink Normal View History

2023-08-06 20:41:07 -07:00
import { performance } from "perf_hooks";
global.performance = performance as any;
import { logResults, runAllTests } from "./benchmark";
2023-08-09 23:53:44 -07:00
import type { TestFactory } from "./benchmark";
import { planckFactory } from "./tests/planck";
export const tests: TestFactory[] = [
planckFactory,
];
2023-08-06 20:41:07 -07:00
const results = runAllTests(tests);
logResults(results);