sahiljagtap's picture
Drums launch benchmarks reproduction + paired Drums/Prime/E2B re-run (scrubbed)
4ef198a
Raw History Blame Contribute Delete
307 Bytes
import sys, json
sys.path.insert(0, "/opt/drums/src/drumsd/python")
import drums
c = drums.connect("http://127.0.0.1:7070", open("/etc/drums/token").read().strip())
env = drums.Env(c, c.call("GET", f"/v1/slots/{sys.argv[1]}"))
env.reset()
print(json.dumps(env.record.get("timings")))
import os; os._exit(0)