Skip to content

Commit

Permalink
Fix perf
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 5, 2023
1 parent 3d1d631 commit 493b1ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions performance_measurement/measure_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ def load_inputs_from_dir(dir: str) -> list:

single_operation_trial_dir = f"{args.workdir_path}/trial-single-operation"
os.makedirs(single_operation_trial_dir, exist_ok=True)
runner = MeasurementRunner(
namespace, crd, single_operation_trial_dir, kubeconfig, context_name)

gen = 0
workloads = load_inputs_from_dir(dir=f"{args.workdir_path}/inputs")
for workload in workloads:
runner = MeasurementRunner(
namespace, crd, single_operation_trial_dir, kubeconfig, context_name)
cluster.restart_cluster(name="anvil", kubeconfig=kubeconfig)
deployed = deploy.deploy_with_retry(kubeconfig, context_name, namespace)
if not deployed:
Expand Down

0 comments on commit 493b1ea

Please sign in to comment.