aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/garage-s3lat
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-14 17:25:16 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-14 17:25:16 +0200
commite3409ce6b751fa92a98000ca4a2225b2ed10fdee (patch)
tree82a95796bafda3b145aebe1110782a65dedf491f /benchmarks/garage-s3lat
parent30643ca50d4646a790080ee12fa3fbe874bfcf73 (diff)
downloadmknet-e3409ce6b751fa92a98000ca4a2225b2ed10fdee.tar.gz
mknet-e3409ce6b751fa92a98000ca4a2225b2ed10fdee.zip
New way to deploy Garage
Diffstat (limited to 'benchmarks/garage-s3lat')
-rwxr-xr-xbenchmarks/garage-s3lat12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/garage-s3lat b/benchmarks/garage-s3lat
new file mode 100755
index 0000000..361ed26
--- /dev/null
+++ b/benchmarks/garage-s3lat
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+from fragments import garage, s3lat, shared
+
+if shared.id() == 1:
+ garage.deploy_coord()
+ s3lat.on_garage()
+ garage.delete_key()
+ garage.destroy()
+else:
+ garage.deploy_follow()
+ garage.sync_on_key_down()
+ garage.destroy()