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