aboutsummaryrefslogtreecommitdiff
path: root/scenarios/fragments/warp.py
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-16 16:19:09 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-16 16:19:09 +0200
commit12764a020a4171eee738b1e2a8a3d5340f4da7a1 (patch)
treef84833d8e1967db93e78e3dda7f1675178929ad1 /scenarios/fragments/warp.py
parentb95db09b96d6a901004fdf3ccccc98e297c9102d (diff)
downloadmknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.tar.gz
mknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.zip
Fix prepare script
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}")