aboutsummaryrefslogtreecommitdiff
path: root/scenarios/fragments/warp.py
diff options
context:
space:
mode:
Diffstat (limited to 'scenarios/fragments/warp.py')
-rw-r--r--scenarios/fragments/warp.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/scenarios/fragments/warp.py b/scenarios/fragments/warp.py
index 721c604..0c5acc8 100644
--- a/scenarios/fragments/warp.py
+++ b/scenarios/fragments/warp.py
@@ -1,15 +1,10 @@
import os
from os.path import exists
from pathlib import Path
-from fragments import shared, garage
+from fragments import shared, garage, flavor
warp_bin = Path(os.path.dirname(__file__)) / "../../benchmarks/warp/warp"
-
-bench_flavor = {
- "warp-fast": "mixed --obj.size 5M --objects 200 --duration=1m",
- "warp-default": "mixed"
-}
-bench = warp_bench_flavor["warp-fast"]
+bench = flavor.warp["warp-fast"]
def on_garage(params="mixed"):
shared.log(f"launching warp {warp_bin}")