Skip to content

An open-source, faster Devin alternative

TypeScript

docs: record IAD VM-DO benchmark results

Mohamed Habib20e19223f32d
diff --git a/cloudflare-workers/vm-do-poc/README.md b/cloudflare-workers/vm-do-poc/README.md
index 4222635a..5fa4e9b9 100644
--- a/cloudflare-workers/vm-do-poc/README.md
+++ b/cloudflare-workers/vm-do-poc/README.md
@@ -18,6 +18,60 @@ used by the ComputeSDK TTI benchmark:
is deliberately a one-VM floor test, not a pool allocator or production sandbox
lifecycle implementation.
+## IAD to East US 2 result
+
+The isolated production dry run completed on 2026-08-03 with this topology:
+
+```text
+AWS us-east-1 client (Cloudflare ingress IAD)
+ -> Cloudflare Worker
+ -> Durable Object verified in IAD
+ -> persistent protobuf WebSocket
+ -> running OpenComputer VM in Azure East US 2
+ -> node -v
+```
+
+The client used Node 24 and `@computesdk/[email protected]`. A reporting-only
+wrapper imported and invoked the upstream ComputeSDK benchmark's unchanged
+`config` and `task`, because the upstream runner requires a separate
+`BENCHMARKS_PLATFORM_API_KEY` before it will execute locally. The workload was
+therefore still exactly `sandbox.create()` followed by
+`sandbox.runCommand("node -v")`; destroy remained outside TTI.
+
+### Upstream ComputeSDK task, 100 sequential iterations
+
+| Measurement | Minimum | Median | P95 | P99 | Mean |
+| --- | ---: | ---: | ---: | ---: | ---: |
+| TTI | 36.15 ms | 44.56 ms | 49.37 ms | 142.94 ms | 47.57 ms |
+| Create | 10.08 ms | 15.65 ms | 18.86 ms | 25.40 ms | 17.20 ms |
+| Execute | 26.06 ms | 28.94 ms | 32.73 ms | 55.02 ms | 30.37 ms |
+
+All 100 iterations succeeded against the real VM. The TTI maximum was
+213.45 ms. A prior invalid run made while the VM was hibernated was discarded;
+the successful run started only after the DO lease probe reported
+`connected: true`.
+
+### Direct stage probe, 100 sequential iterations
+
+| Measurement | Minimum | Median | P95 |
+| --- | ---: | ---: | ---: |
+| Total create + execute | 33.93 ms | 39.72 ms | 46.43 ms |
+| Create client round trip | 8.67 ms | 12.01 ms | 14.76 ms |
+| Execute client round trip | 24.29 ms | 27.60 ms | 32.24 ms |
+| Time inside Durable Object | 11 ms | 12 ms | 15 ms |
+| VM `node -v` process | 4 ms | 4 ms | 4 ms |
+
+The create handler itself took less than 1 ms at the edge and rounded to
+0 ms. The 12.01 ms create median is therefore primarily the warm client-to-IAD
+Worker request/response. It does **not** include a D1 allocation transaction:
+this POC returns the statically configured, pre-leased VM. A production pool
+allocator must add and measure the real lease operation before treating this as
+an end-to-end production result.
+
+The observed floor was 33.93-36.15 ms depending on whether the direct probe or
+the full ComputeSDK adapter path was measured. The practical steady-state
+median was 39.72-44.56 ms.
+
The VM opens the connection to the DO. Commands and results use the protobuf
schema in `protocol/exec.proto`. The POC uses small dependency-free,
generated-style codecs so neither endpoint pays for a general protobuf runtime;
diff --git a/cloudflare-workers/vm-do-poc/results/iad-eastus2-2026-08-03.json b/cloudflare-workers/vm-do-poc/results/iad-eastus2-2026-08-03.json
new file mode 100644
index 00000000..df359774
--- /dev/null
+++ b/cloudflare-workers/vm-do-poc/results/iad-eastus2-2026-08-03.json
@@ -0,0 +1,58 @@
+{
+ "date": "2026-08-03",
+ "topology": {
+ "client": "AWS us-east-1",
+ "clientCloudflareColo": "IAD",
+ "durableObjectColo": "IAD",
+ "vm": "OpenComputer Azure East US 2"
+ },
+ "computesdkTask": {
+ "package": "@computesdk/[email protected]",
+ "nodeVersion": "24",
+ "iterations": 100,
+ "concurrency": 1,
+ "succeeded": 100,
+ "failed": 0,
+ "timingMs": {
+ "tti": {
+ "min": 36.14551,
+ "median": 44.561831,
+ "p95": 49.369624,
+ "p99": 142.940823,
+ "max": 213.449508,
+ "mean": 47.573713
+ },
+ "create": {
+ "min": 10.08499,
+ "median": 15.645343,
+ "p95": 18.858801,
+ "p99": 25.401514,
+ "max": 178.292105,
+ "mean": 17.200888
+ },
+ "exec": {
+ "min": 26.055342,
+ "median": 28.93681,
+ "p95": 32.726674,
+ "p99": 55.02078,
+ "max": 125.310318,
+ "mean": 30.365496
+ }
+ }
+ },
+ "directStageProbe": {
+ "iterations": 100,
+ "timingMs": {
+ "total": { "min": 33.93, "median": 39.72, "p95": 46.43 },
+ "createClient": { "min": 8.67, "median": 12.01, "p95": 14.76 },
+ "execClient": { "min": 24.29, "median": 27.6, "p95": 32.24 },
+ "durableObject": { "min": 11, "median": 12, "p95": 15 },
+ "vmProcess": { "min": 4, "median": 4, "p95": 4 }
+ }
+ },
+ "caveats": [
+ "Create returned a statically configured pre-leased VM and did not execute a D1 allocation transaction.",
+ "The upstream task and provider were unchanged, but a reporting-only wrapper was used because the upstream runner requires BENCHMARKS_PLATFORM_API_KEY before local execution.",
+ "A run attempted while the VM was hibernated failed and is excluded from these results."
+ ]
+}