mirror of
https://github.com/logos-blockchain/logos-blockchain-simulations.git
synced 2026-02-05 13:53:12 +00:00
14 lines
386 B
Python
14 lines
386 B
Python
import argparse
|
|
|
|
from queuesim import benchmark
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser(
|
|
description="Queuesim Benchmark",
|
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
|
)
|
|
parser.add_argument("--num-workers", type=int, required=True, help="num workers")
|
|
args = parser.parse_args()
|
|
|
|
benchmark.benchmark(args.num_workers)
|