mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
import runIncrementalMerkleTree from "./incremental-merkle-tree"
|
|
|
|
const [benchmark] = process.argv.slice(2)
|
|
|
|
// If there is an argument with a specific benchmark to run, it will run only that
|
|
// benchmark, otherwise it will run all the benchmarks.
|
|
switch (benchmark) {
|
|
case "incremental-merkle-tree":
|
|
runIncrementalMerkleTree()
|
|
break
|
|
default:
|
|
runIncrementalMerkleTree()
|
|
}
|