Skip to content

An open-source, faster Devin alternative

TypeScript

add scale down, fix postgres setup on dev

Brian Reardona5120f53dc66
diff --git a/scripts/bench-qemu.sh b/scripts/bench-qemu.sh
index d3833c05..52c31142 100755
--- a/scripts/bench-qemu.sh
+++ b/scripts/bench-qemu.sh
@@ -227,6 +227,12 @@ bench "Scale up" '
curl -s -X PUT "$API/api/sandboxes/$SB/limits" -H "Content-Type: application/json" -H "X-API-Key: $KEY" -d "{\"memoryMB\":2048}"
'
+# ── Scale down (2GB → 1GB) ──
+h "Scale down (2GB → 1GB)"
+bench "Scale down" '
+ curl -s -X PUT "$API/api/sandboxes/$SB/limits" -H "Content-Type: application/json" -H "X-API-Key: $KEY" -d "{\"memoryMB\":1024}"
+'
+
# ── Get sandbox ──
h "Get sandbox"
bench "Get sandbox" '