presentation-transfer-benchmark.json
docs/evidence/presentation-transfer-benchmark.json
1{
2 "runtime": "v22.23.4",
3 "objects": 674,
4 "actors": 1,
5 "warmupPerCase": 20,
6 "cases": [
7 {
8 "kind": "baseline",
9 "transport": "structured-clone",
10 "p50Ms": 2.492050000000063,
11 "p95Ms": 3.294550000000072,
12 "samples": 100
13 },
14 {
15 "kind": "baseline",
16 "transport": "transferred-json",
17 "p50Ms": 4.904523000000154,
18 "p95Ms": 5.195615999999973,
19 "samples": 100,
20 "usedBytes": 183463,
21 "capacity": 4194304,
22 "allocations": 1,
23 "returns": 120
24 },
25 {
26 "kind": "motion",
27 "transport": "structured-clone",
28 "p50Ms": 0.007190000000036889,
29 "p95Ms": 0.007591999999931431,
30 "samples": 100
31 },
32 {
33 "kind": "motion",
34 "transport": "transferred-json",
35 "p50Ms": 0.018528999999944062,
36 "p95Ms": 0.019655000000057044,
37 "samples": 100,
38 "usedBytes": 233,
39 "capacity": 4194304,
40 "allocations": 1,
41 "returns": 120
42 }
43 ],
44 "scope": "Synchronous CPU cost of admission, serialization/structured clone, receiver acceptance and return. Excludes event-loop scheduling, GPU rendering and network. Transfer buffer allocation is outside timing; JSON and schema allocations are included. Fixed case order and GC affect comparisons."
45}
46