.
This commit is contained in:
13
run.py
13
run.py
@@ -5,7 +5,14 @@ import json
|
||||
import click
|
||||
|
||||
from benchmark import run_single_bench
|
||||
from definitions import BENCH_DIR_NAMES, CEPH_ROOT, INST_STO_ROOT, REMOTE_INST_STO_ROOT, SERV_URL
|
||||
from definitions import (
|
||||
BENCH_DIR_NAMES,
|
||||
CEPH_ROOT,
|
||||
INST_STO_ROOT,
|
||||
NUM_RUNS,
|
||||
REMOTE_INST_STO_ROOT,
|
||||
SERV_URL,
|
||||
)
|
||||
from results_tools import Results
|
||||
|
||||
results = Results()
|
||||
@@ -19,7 +26,7 @@ def cli():
|
||||
@cli.command()
|
||||
def local():
|
||||
click.echo("Running locally")
|
||||
for runnum in range(50):
|
||||
for runnum in range(NUM_RUNS):
|
||||
for files_type in BENCH_DIR_NAMES:
|
||||
test_case = "Local-InsSto to CEPH"
|
||||
source = f"{INST_STO_ROOT}/{files_type}"
|
||||
@@ -36,7 +43,7 @@ def local():
|
||||
@cli.command()
|
||||
def distant():
|
||||
click.echo("Running distant to local")
|
||||
for runnum in range(50):
|
||||
for runnum in range(NUM_RUNS):
|
||||
for files_type in BENCH_DIR_NAMES:
|
||||
test_case = "Distant-InsSto to InsSto"
|
||||
source = f"{SERV_URL}/{REMOTE_INST_STO_ROOT}/{files_type}"
|
||||
|
||||
Reference in New Issue
Block a user