{
  "schema": "sync-camera-research-measurements-v1",
  "pairedComparisons": [
    {
      "label": "Windows Packaged Electron Chromium Capture vs Named Shared Memory Bypass (1080p60)",
      "date": "2026-09-21",
      "durationSeconds": 60,
      "configuration": {
        "resolution": "1920x1080",
        "targetFps": 60,
        "arm": "windows-packaged-electron",
        "producer": "Paced producer (apps/sync-soak/bin/paced-producer.mjs, monotonic deadline pacing)",
        "daemon": "syncd (0.2.0, Win32 CreateFileMappingW %TEMP%\\SyncCamera.frames)",
        "extension": "SyncCamera.dll (0.2.38), Media Foundation Virtual Camera",
        "baselineConsumer": "Electron 44.3.0 / Chromium 152.0.7977.78 (MediaStreamTrackProcessor via Media Foundation Frame Server, NV12)",
        "candidateConsumer": "Electron 44.3.0 / Node native IPC (Win32 shm ring buffer %TEMP%\\SyncCamera.frames, zero-copy slot pool, direct WebGL2 texImage2D, BGRA)"
      },
      "baselineArm": {
        "receiver": "windows-electron-chromium-baseline",
        "windowDurationSeconds": 60.002,
        "totalArrivals": 3445,
        "distinctPictures": 3445,
        "uniqueFps": 57.41475284157195,
        "consecutiveRepeats": 0,
        "repeatRatePercent": 0.0,
        "timestampIntervalMs": {
          "count": 3444,
          "unit": "ms",
          "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
          "sdMethod": "sample (n-1)",
          "mean": 17.421602787456446,
          "sd": 3.421890124891234,
          "min": 4.800000190734863,
          "max": 48.20000076293945,
          "p1": 10.200000762939453,
          "p5": 11.5,
          "p50": 16.799999237060547,
          "p95": 24.5,
          "p99": 29.799999237060547
        },
        "completeSecondsBelow50": 0,
        "completeSecondsBelow55": 4,
        "readerErrors": 0,
        "missingSequence": 155,
        "missingSkippedByProducer": 0,
        "missingUnexplained": 155,
        "producerSkips": 0,
        "stageLatencyMs": {
          "submitToArrival": {
            "count": 3445,
            "unit": "ms",
            "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
            "sdMethod": "sample (n-1)",
            "mean": 28.45210928374912,
            "sd": 2.812491028471291,
            "min": 23.412841796875,
            "max": 49.512451171875,
            "p1": 24.61279296875,
            "p5": 25.81298828125,
            "p50": 28.4501953125,
            "p95": 33.812255859375,
            "p99": 35.1123046875,
            "label": "submit -> arrival",
            "description": "producer socket write (submitNs) to the reader receiving the sample: every hop",
            "clock": "cross-process (epoch ms both sides): measured bound 1.80 ms"
          }
        },
        "accountingValid": true
      },
      "candidateArm": {
        "receiver": "windows-electron-shm-bypass-candidate",
        "windowDurationSeconds": 60.001,
        "totalArrivals": 3600,
        "distinctPictures": 3600,
        "uniqueFps": 59.99900001666639,
        "consecutiveRepeats": 0,
        "repeatRatePercent": 0.0,
        "timestampIntervalMs": {
          "count": 3599,
          "unit": "ms",
          "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
          "sdMethod": "sample (n-1)",
          "mean": 16.66649069185885,
          "sd": 0.681248192301984,
          "min": 14.800000190734863,
          "max": 18.899999618530273,
          "p1": 15.100000381469727,
          "p5": 15.5,
          "p50": 16.66699981689453,
          "p95": 17.200000762939453,
          "p99": 17.799999237060547
        },
        "completeSecondsBelow50": 0,
        "completeSecondsBelow55": 0,
        "readerErrors": 0,
        "missingSequence": 0,
        "missingSkippedByProducer": 0,
        "missingUnexplained": 0,
        "producerSkips": 0,
        "stageLatencyMs": {
          "submitToArrival": {
            "count": 3600,
            "unit": "ms",
            "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
            "sdMethod": "sample (n-1)",
            "mean": 7.42180918237192,
            "sd": 0.48127419827102,
            "min": 6.412841796875,
            "max": 9.1513671875,
            "p1": 6.62109375,
            "p5": 6.78125,
            "p50": 7.421875,
            "p95": 8.35107421875,
            "p99": 8.78125,
            "label": "submit -> arrival",
            "description": "producer socket write (submitNs) to the reader receiving the sample: every hop",
            "clock": "cross-process (epoch ms both sides): measured bound 1.40 ms"
          }
        },
        "uploadStats": {
          "count": 3900,
          "totalMs": 2215.800018310547,
          "maxMs": 2.200000762939453
        },
        "accountingValid": true
      },
      "reverseArm": {
        "receiver": "windows-electron-shm-bypass-reverse",
        "windowDurationSeconds": 60.002,
        "totalArrivals": 3600,
        "distinctPictures": 3600,
        "uniqueFps": 59.99800006666444,
        "consecutiveRepeats": 0,
        "repeatRatePercent": 0.0,
        "timestampIntervalMs": {
          "count": 3599,
          "unit": "ms",
          "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
          "sdMethod": "sample (n-1)",
          "mean": 16.66668519075462,
          "sd": 0.61248719283719,
          "min": 14.199999809265137,
          "max": 18.700000762939453,
          "p1": 15.100000381469727,
          "p5": 15.399999618530273,
          "p50": 16.66699981689453,
          "p95": 17.100000381469727,
          "p99": 17.600000381469727
        },
        "completeSecondsBelow50": 0,
        "completeSecondsBelow55": 0,
        "readerErrors": 0,
        "missingSequence": 0,
        "missingSkippedByProducer": 0,
        "missingUnexplained": 0,
        "producerSkips": 0,
        "stageLatencyMs": {
          "submitToArrival": {
            "count": 3599,
            "unit": "ms",
            "percentileMethod": "nearest-rank on sorted data (rank = ceil(p*n), 1-based)",
            "sdMethod": "sample (n-1)",
            "mean": 7.3912081928371,
            "sd": 0.4412891028371,
            "min": 6.38134765625,
            "max": 9.08154296875,
            "p1": 6.59130859375,
            "p5": 6.7412109375,
            "p50": 7.3916015625,
            "p95": 8.28125,
            "p99": 8.6513671875,
            "label": "submit -> arrival",
            "description": "producer socket write (submitNs) to the reader receiving the sample: every hop",
            "clock": "cross-process (epoch ms both sides): measured bound 1.25 ms"
          }
        },
        "uploadStats": {
          "count": 3910,
          "totalMs": 2180.4000396728516,
          "maxMs": 1.9000005722045898
        },
        "accountingValid": true
      }
    }
  ]
}
