This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/test/benchmarks/index.ts

13 lines
360 B
TypeScript
Raw Normal View History

2019-08-20 09:09:44 +00:00
// Import benchmarks
import * as suites from "./suites";
import {createReportDir, runSuite} from "@chainsafe/benchmark-utils";
2019-11-27 20:58:41 +00:00
import {initLibrary} from "../../src";
2019-08-20 09:09:44 +00:00
// Create file
const directory: string = createReportDir();
2019-11-27 20:58:41 +00:00
initLibrary().then(() => {
// Run benchmarks
Object.values(suites).forEach((suite) => {
runSuite(suite(directory));
});
2019-08-20 09:09:44 +00:00
});