{
  "measuredOn": "2026-10-07",
  "environment": "staging",
  "hardware": {
    "provider": "Hetzner",
    "processor": "AMD Ryzen™ 5 3600"
  },
  "setup": "Probe, Gatana gateway, and echo MCP server inside the same staging cluster on Hetzner; sequential MCP tools/call round trips over kept-alive connections; 20 warm-up calls per run; three interleaved repetitions; every gateway path run with a 2025-era client (initialize handshake) and a 2026-07-28 client (no handshake), against an upstream echo server recorded as 2025-era and against the same server recorded as 2026-07-28",
  "unit": "milliseconds",
  "warmupCallsPerRun": 20,
  "quantileMethod": "Sort successful samples and select index min(n-1, floor(p*n)); round summary values to one decimal place",
  "protocols": {
    "client": {
      "2025-06-18": "initialize, notifications/initialized, then tools/call on one session",
      "2026-07-28": "server/discover once, then tools/call with the per-request _meta envelope and the mcp-protocol-version, mcp-method and mcp-name headers; no handshake"
    },
    "upstream": {
      "2025-era (initialize handshake)": "the gateway sends initialize, notifications/initialized and a GET probe before every tool call",
      "2026-07-28 (no handshake)": "the gateway connects on its stored server/discover result and sends the tool call alone"
    }
  },
  "builtinControl": {
    "tool": "skills_list_skills",
    "arguments": {
      "query": "__latency_probe_no_match__"
    },
    "sideEffects": "none"
  },
  "timedCalls": 21900,
  "errors": 0,
  "addedLatencyEstimate": {
    "method": "Subtract the direct public echo p50 (same client protocol) from the gateway echo p50 in each repetition, then take the median of those three differences",
    "headlinePath": "client 2026-07-28, upstream 2026-07-28",
    "medianDifferenceOfP50Ms": 9.5,
    "approximateHeadlineMs": 10,
    "byPath": {
      "client 2025-06-18, upstream 2025-era": {
        "pairedRuns": [
          {
            "repetition": 1,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 14.9,
            "differenceOfP50Ms": 13.5
          },
          {
            "repetition": 2,
            "directP50Ms": 1.2,
            "gatewayP50Ms": 14.3,
            "differenceOfP50Ms": 13.1
          },
          {
            "repetition": 3,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 15,
            "differenceOfP50Ms": 13.6
          }
        ],
        "medianDifferenceOfP50Ms": 13.5
      },
      "client 2026-07-28, upstream 2025-era": {
        "pairedRuns": [
          {
            "repetition": 1,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 15.3,
            "differenceOfP50Ms": 13.9
          },
          {
            "repetition": 2,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 15,
            "differenceOfP50Ms": 13.6
          },
          {
            "repetition": 3,
            "directP50Ms": 1.5,
            "gatewayP50Ms": 15.1,
            "differenceOfP50Ms": 13.6
          }
        ],
        "medianDifferenceOfP50Ms": 13.6
      },
      "client 2025-06-18, upstream 2026-07-28": {
        "pairedRuns": [
          {
            "repetition": 1,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 10.8,
            "differenceOfP50Ms": 9.4
          },
          {
            "repetition": 2,
            "directP50Ms": 1.2,
            "gatewayP50Ms": 10.5,
            "differenceOfP50Ms": 9.3
          },
          {
            "repetition": 3,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 11.3,
            "differenceOfP50Ms": 9.9
          }
        ],
        "medianDifferenceOfP50Ms": 9.4
      },
      "client 2026-07-28, upstream 2026-07-28": {
        "pairedRuns": [
          {
            "repetition": 1,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 10.9,
            "differenceOfP50Ms": 9.5
          },
          {
            "repetition": 2,
            "directP50Ms": 1.4,
            "gatewayP50Ms": 10.7,
            "differenceOfP50Ms": 9.3
          },
          {
            "repetition": 3,
            "directP50Ms": 1.5,
            "gatewayP50Ms": 11.1,
            "differenceOfP50Ms": 9.6
          }
        ],
        "medianDifferenceOfP50Ms": 9.5
      }
    },
    "limitation": "A difference between path medians, not a percentile of individual request overhead"
  },
  "limits": [
    "Warm sequential calls inside one staging cluster; not a concurrent-load test or latency guarantee",
    "Hardware describes the staging environment; it does not establish dedicated CPU use by the backend",
    "Client location, routing, and upstream distance can change results; the handshake saving grows with the distance to the upstream server",
    "The 2025-era upstream is the same echo server with protocol 2026-07-28 turned off, so the two upstream paths differ in the protocol alone"
  ],
  "runs": [
    {
      "path": "direct, in-cluster address",
      "clientProtocol": "2025-06-18",
      "repetition": 1,
      "n": 300,
      "attempted": 300,
      "errors": 0,
      "p50": 0.5,
      "p95": 1.2,
      "p99": 25.7,
      "min": 0.4,
      "mean": 1,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2025-06-18",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.4,
      "p95": 1.8,
      "p99": 2.5,
      "min": 1.2,
      "mean": 1.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2026-07-28",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.4,
      "p95": 1.9,
      "p99": 2.8,
      "min": 1.1,
      "mean": 1.5,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 14.9,
      "p95": 34,
      "p99": 43.7,
      "min": 12.5,
      "mean": 19.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 15.3,
      "p95": 29.8,
      "p99": 45.4,
      "min": 12.7,
      "mean": 18.7,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 10.8,
      "p95": 26.2,
      "p99": 35.4,
      "min": 9.2,
      "mean": 14.3,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 1,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 10.9,
      "p95": 22.7,
      "p99": 35.8,
      "min": 9.5,
      "mean": 14,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2025-06-18",
      "repetition": 1,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 9.6,
      "p95": 21.6,
      "p99": 25.7,
      "min": 8.1,
      "mean": 11.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2026-07-28",
      "repetition": 1,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 10,
      "p95": 20.2,
      "p99": 42.3,
      "min": 8.4,
      "mean": 12.8,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, in-cluster address",
      "clientProtocol": "2025-06-18",
      "repetition": 2,
      "n": 300,
      "attempted": 300,
      "errors": 0,
      "p50": 0.5,
      "p95": 1.3,
      "p99": 31.8,
      "min": 0.4,
      "mean": 1.1,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2025-06-18",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.2,
      "p95": 1.6,
      "p99": 2.5,
      "min": 0.9,
      "mean": 1.3,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2026-07-28",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.4,
      "p95": 1.8,
      "p99": 3.1,
      "min": 1,
      "mean": 1.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 10.7,
      "p95": 21.6,
      "p99": 30.8,
      "min": 9.1,
      "mean": 12.9,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 10.5,
      "p95": 22,
      "p99": 36,
      "min": 8.8,
      "mean": 13.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 15,
      "p95": 28.4,
      "p99": 51.4,
      "min": 12.7,
      "mean": 18.4,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 2,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 14.3,
      "p95": 26.9,
      "p99": 36.4,
      "min": 12.3,
      "mean": 17.5,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2026-07-28",
      "repetition": 2,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 11,
      "p95": 22.8,
      "p99": 38,
      "min": 9,
      "mean": 14.1,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2025-06-18",
      "repetition": 2,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 10.5,
      "p95": 25,
      "p99": 33.2,
      "min": 8.9,
      "mean": 13.1,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, in-cluster address",
      "clientProtocol": "2025-06-18",
      "repetition": 3,
      "n": 300,
      "attempted": 300,
      "errors": 0,
      "p50": 0.6,
      "p95": 1.4,
      "p99": 23.9,
      "min": 0.4,
      "mean": 1.1,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2025-06-18",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.4,
      "p95": 1.8,
      "p99": 3,
      "min": 1,
      "mean": 1.5,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2026-07-28",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 1.5,
      "p95": 2,
      "p99": 3.2,
      "min": 1.2,
      "mean": 1.6,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 15,
      "p95": 35.3,
      "p99": 53.7,
      "min": 11.8,
      "mean": 19.8,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 15.1,
      "p95": 30.6,
      "p99": 54.7,
      "min": 12.4,
      "mean": 18.8,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 11.3,
      "p95": 24.3,
      "p99": 33.4,
      "min": 9.2,
      "mean": 14.5,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "repetition": 3,
      "n": 1000,
      "attempted": 1000,
      "errors": 0,
      "p50": 11.1,
      "p95": 23.4,
      "p99": 55,
      "min": 9.2,
      "mean": 13.9,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2025-06-18",
      "repetition": 3,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 10.3,
      "p95": 21,
      "p99": 30.4,
      "min": 8.5,
      "mean": 13.3,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2026-07-28",
      "repetition": 3,
      "n": 500,
      "attempted": 500,
      "errors": 0,
      "p50": 10.4,
      "p95": 20.1,
      "p99": 28.6,
      "min": 8.7,
      "mean": 11.7,
      "when": "7 October 2026, staging, after the MCP 2026-07-28 release"
    }
  ],
  "aggregate": [
    {
      "path": "direct, in-cluster address",
      "clientProtocol": "2025-06-18",
      "n": 900,
      "pooledP50": 0.5,
      "pooledP95": 1.3,
      "pooledP99": 23.9,
      "pooledMean": 1.1
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2025-06-18",
      "n": 3000,
      "pooledP50": 1.3,
      "pooledP95": 1.8,
      "pooledP99": 2.6,
      "pooledMean": 1.4
    },
    {
      "path": "direct, public hostname through the ingress",
      "clientProtocol": "2026-07-28",
      "n": 3000,
      "pooledP50": 1.4,
      "pooledP95": 1.9,
      "pooledP99": 3.1,
      "pooledMean": 1.5
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "n": 3000,
      "pooledP50": 14.7,
      "pooledP95": 32.0,
      "pooledP99": 46.4,
      "pooledMean": 18.9
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2025-era (initialize handshake)",
      "n": 3000,
      "pooledP50": 15.1,
      "pooledP95": 29.8,
      "pooledP99": 48.7,
      "pooledMean": 18.6
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2025-06-18",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "n": 3000,
      "pooledP50": 10.8,
      "pooledP95": 24.2,
      "pooledP99": 34.3,
      "pooledMean": 14.1
    },
    {
      "path": "through the gateway to the echo tool",
      "clientProtocol": "2026-07-28",
      "upstreamProtocol": "2026-07-28 (no handshake)",
      "n": 3000,
      "pooledP50": 10.9,
      "pooledP95": 22.6,
      "pooledP99": 35.8,
      "pooledMean": 13.6
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2025-06-18",
      "n": 1500,
      "pooledP50": 10.2,
      "pooledP95": 22.8,
      "pooledP99": 29.9,
      "pooledMean": 12.6
    },
    {
      "path": "through the gateway to skills_list_skills",
      "clientProtocol": "2026-07-28",
      "n": 1500,
      "pooledP50": 10.5,
      "pooledP95": 21.2,
      "pooledP99": 30.2,
      "pooledMean": 12.9
    }
  ]
}