{
  "slug": "swap-latency-2026",
  "method": {
    "runsPerScenario": 30,
    "modelDelayMs": 0,
    "swapDeadlineMs": 10000,
    "browser": "Chromium 148.0.7778.96 (Playwright, headless)",
    "machine": "Darwin 24.6.0 arm64, 10 CPU cores, Node v22.23.4",
    "appUrl": "http://localhost:3730",
    "wordpress": "WordPress 7.1.5, snippet in WPCode 2.4.2 \"Header\" field, PHP built-in server",
    "stubGatewayCalls": 66,
    "order": "platforms interleaved per round",
    "loadAverage": {
      "before": 13.1,
      "after": 29.8
    }
  },
  "run": {
    "startedAt": "2026-11-22T18:48:33.284Z",
    "finishedAt": "2026-11-22T18:52:22.113Z"
  },
  "summary": [
    {
      "platform": "html",
      "scenario": "untagged",
      "runs": 30,
      "personalized": 0,
      "cacheSources": {},
      "swapAtMs": null,
      "pixelLatencyMs": null,
      "hiddenMs": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 0
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 5,
        "median": 6,
        "p90": 11,
        "max": 12
      },
      "getIntentRequests": {
        "n": 30,
        "min": 3,
        "median": 3,
        "p90": 3,
        "max": 3
      },
      "rewriteRequests": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 0
      },
      "modelCalls": 0
    },
    {
      "platform": "html",
      "scenario": "miss",
      "runs": 30,
      "personalized": 29,
      "cacheSources": {
        "full": 29
      },
      "swapAtMs": {
        "n": 29,
        "min": 50,
        "median": 69,
        "p90": 702,
        "max": 1168
      },
      "pixelLatencyMs": {
        "n": 29,
        "min": 28,
        "median": 46,
        "p90": 635,
        "max": 993
      },
      "hiddenMs": {
        "n": 30,
        "min": 45,
        "median": 63,
        "p90": 657,
        "max": 801
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 5,
        "median": 6,
        "p90": 11,
        "max": 11
      },
      "getIntentRequests": {
        "n": 30,
        "min": 5,
        "median": 6,
        "p90": 6,
        "max": 6
      },
      "rewriteRequests": {
        "n": 30,
        "min": 2,
        "median": 2,
        "p90": 2,
        "max": 2
      },
      "modelCalls": 29
    },
    {
      "platform": "html",
      "scenario": "serverHit",
      "runs": 30,
      "personalized": 30,
      "cacheSources": {
        "full": 30
      },
      "swapAtMs": {
        "n": 30,
        "min": 40,
        "median": 58,
        "p90": 404,
        "max": 830
      },
      "pixelLatencyMs": {
        "n": 30,
        "min": 20,
        "median": 35,
        "p90": 309,
        "max": 729
      },
      "hiddenMs": {
        "n": 30,
        "min": 36,
        "median": 53,
        "p90": 399,
        "max": 802
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 5,
        "median": 10,
        "p90": 11,
        "max": 12
      },
      "getIntentRequests": {
        "n": 30,
        "min": 6,
        "median": 6,
        "p90": 6,
        "max": 6
      },
      "rewriteRequests": {
        "n": 30,
        "min": 2,
        "median": 2,
        "p90": 2,
        "max": 2
      },
      "modelCalls": 1
    },
    {
      "platform": "html",
      "scenario": "sessionHit",
      "runs": 30,
      "personalized": 29,
      "cacheSources": {
        "session": 29
      },
      "swapAtMs": {
        "n": 29,
        "min": 5,
        "median": 5,
        "p90": 6,
        "max": 7
      },
      "pixelLatencyMs": {
        "n": 29,
        "min": 0,
        "median": 0,
        "p90": 1,
        "max": 1
      },
      "hiddenMs": {
        "n": 30,
        "min": 1,
        "median": 2,
        "p90": 2,
        "max": 43
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 5,
        "median": 6,
        "p90": 6,
        "max": 7
      },
      "getIntentRequests": {
        "n": 30,
        "min": 3,
        "median": 3,
        "p90": 3,
        "max": 4
      },
      "rewriteRequests": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 2
      },
      "modelCalls": 0
    },
    {
      "platform": "wordpress",
      "scenario": "untagged",
      "runs": 30,
      "personalized": 0,
      "cacheSources": {},
      "swapAtMs": null,
      "pixelLatencyMs": null,
      "hiddenMs": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 0
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 47,
        "median": 59,
        "p90": 71,
        "max": 147
      },
      "getIntentRequests": {
        "n": 30,
        "min": 3,
        "median": 3,
        "p90": 3,
        "max": 3
      },
      "rewriteRequests": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 0
      },
      "modelCalls": 0
    },
    {
      "platform": "wordpress",
      "scenario": "miss",
      "runs": 30,
      "personalized": 30,
      "cacheSources": {
        "full": 30
      },
      "swapAtMs": {
        "n": 30,
        "min": 97,
        "median": 145,
        "p90": 554,
        "max": 1138
      },
      "pixelLatencyMs": {
        "n": 30,
        "min": 32,
        "median": 49,
        "p90": 472,
        "max": 1034
      },
      "hiddenMs": {
        "n": 30,
        "min": 57,
        "median": 100,
        "p90": 505,
        "max": 801
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 46,
        "median": 56,
        "p90": 68,
        "max": 72
      },
      "getIntentRequests": {
        "n": 30,
        "min": 6,
        "median": 6,
        "p90": 6,
        "max": 6
      },
      "rewriteRequests": {
        "n": 30,
        "min": 2,
        "median": 2,
        "p90": 2,
        "max": 2
      },
      "modelCalls": 30
    },
    {
      "platform": "wordpress",
      "scenario": "serverHit",
      "runs": 30,
      "personalized": 30,
      "cacheSources": {
        "full": 30
      },
      "swapAtMs": {
        "n": 30,
        "min": 93,
        "median": 121,
        "p90": 253,
        "max": 626
      },
      "pixelLatencyMs": {
        "n": 30,
        "min": 21,
        "median": 35,
        "p90": 153,
        "max": 466
      },
      "hiddenMs": {
        "n": 30,
        "min": 49,
        "median": 79,
        "p90": 200,
        "max": 585
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 44,
        "median": 56,
        "p90": 68,
        "max": 84
      },
      "getIntentRequests": {
        "n": 30,
        "min": 6,
        "median": 6,
        "p90": 6,
        "max": 6
      },
      "rewriteRequests": {
        "n": 30,
        "min": 2,
        "median": 2,
        "p90": 2,
        "max": 2
      },
      "modelCalls": 0
    },
    {
      "platform": "wordpress",
      "scenario": "sessionHit",
      "runs": 30,
      "personalized": 30,
      "cacheSources": {
        "session": 30
      },
      "swapAtMs": {
        "n": 30,
        "min": 43,
        "median": 47,
        "p90": 65,
        "max": 70
      },
      "pixelLatencyMs": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 1
      },
      "hiddenMs": {
        "n": 30,
        "min": 3,
        "median": 5,
        "p90": 7,
        "max": 20
      },
      "domContentLoadedMs": {
        "n": 30,
        "min": 43,
        "median": 47,
        "p90": 65,
        "max": 70
      },
      "getIntentRequests": {
        "n": 30,
        "min": 3,
        "median": 3,
        "p90": 3,
        "max": 3
      },
      "rewriteRequests": {
        "n": 30,
        "min": 0,
        "median": 0,
        "p90": 0,
        "max": 0
      },
      "modelCalls": 0
    }
  ]
}
