# GitCore Live-Platform Benchmark Report

> **Scope (Controlled Live-Platform Run):** Executed against `https://gitcore.net` over live HTTPS and Git Smart HTTP using a dedicated private benchmark repository (`obia/bench-live-1796288224225-966cb1`). Short-run measurements are reported directly without hourly extrapolations.

## Environment & Target Metadata

- **Run timestamp (UTC):** `2026-12-03T09:00:00.159Z`
- **Target origin:** `https://gitcore.net` (live HTTPS)
- **Benchmark repository:** `obia/bench-live-1796288224225-966cb1` (private, cleaned up: `true`)
- **Source commit / package:** `c603f416ce24d27fe1f6a8b58b1c0322ccda74e9` (`v1.1.12`)
- **Client runtime:** `Darwin 27.2.0 arm64` | `Apple M2 Pro` (10 logical CPUs) | Node `v18.20.8` | `git version 2.49.0`

## Scenario 1: Speculative Merge Queue under Conflict & CI Eviction

- **Workload:** 50 clean PRs + 10 3-way conflict PRs + 5 failing-CI PRs interleaved (total 65, batch size 5, simulated CI wait 0 ms)
- **Verified outcomes:** 50/50 clean PRs merged; 10 conflicting PRs evicted; 5 failing-CI PRs evicted; queue passes: 1

| Metric | Value |
|---|---:|
| Total enqueue wall time | 25965.85 ms |
| Enqueue latency p50 / p95 | 374.92 ms / 507.42 ms |
| Queue process duration (`POST /queue/process`) | 34037.92 ms |
| Combined enqueue + queue process wall time | 60003.77 ms |

## Scenario 2: Virtual Stacked PR DAG & Cascading Auto-Rebase

- **Workload:** 5-layer linear PR stack pushed via `POST /pulls/stacked` and merged bottom-up
- **Verified outcomes:** 5/5 layers merged; 4 child PRs automatically rebased onto `main`; manual rebases required: 0

| Operation | Samples | Min | p50 | p95 | Max |
|---|---:|---:|---:|---:|---:|
| Push stacked PR (`POST /pulls/stacked`) | 5 | 760.2 ms | 1437.01 ms | 1527.49 ms | 1527.49 ms |
| Merge layer + cascade rebase | 5 | 788.66 ms | 1735.38 ms | 1748.88 ms | 1748.88 ms |

**Raw stack drain runs** (total 9770.58 ms):

| Layer | PR # | Merge + cascade (ms) | Auto-rebased child PR | Child rebaseStatus |
|---:|---:|---:|---:|---|
| 1 | #66 | 1742.89 | #67 | clean |
| 2 | #67 | 1615.59 | #68 | clean |
| 3 | #68 | 1735.38 | #69 | clean |
| 4 | #69 | 1748.88 | #70 | clean |
| 5 | #70 | 788.66 | — (leaf) | — |

## Scenario 3: Live Git Smart HTTP & SARIF v2.1.0 Review API

- **Workload:** 5 sequential iterations of authenticated `git clone` (`git-upload-pack`), branch commit + `git push` (`git-receive-pack`), PR creation, and SARIF v2.1.0 `POST` / `GET`

| Operation | Samples | Min | p50 | p95 | Max |
|---|---:|---:|---:|---:|---:|
| `git clone` (`git-upload-pack`) | 5 | 1263.27 ms | 1287.47 ms | 1573.42 ms | 1573.42 ms |
| `git push` (`git-receive-pack`) | 5 | 1233.81 ms | 1331.69 ms | 3684.06 ms | 3684.06 ms |
| Create PR (`POST /pulls`) | 5 | 951.72 ms | 1020.21 ms | 1348.97 ms | 1348.97 ms |
| Submit SARIF (`POST /reviews/sarif`) | 5 | 216.14 ms | 423.58 ms | 694.48 ms | 694.48 ms |
| Fetch SARIF (`GET /reviews/sarif`) | 5 | 447.83 ms | 456.94 ms | 479.3 ms | 479.3 ms |

**Raw Smart HTTP iterations:**

| Run | PR # | `git clone` (ms) | `git push` (ms) | `POST /pulls` (ms) | `POST /sarif` (ms) | `GET /sarif` (ms) |
|---:|---:|---:|---:|---:|---:|---:|
| 1 | #71 | 1284.66 | 1233.81 | 1020.21 | 694.48 | 469.53 |
| 2 | #72 | 1263.27 | 1322.56 | 959.74 | 244.42 | 447.83 |
| 3 | #73 | 1573.42 | 3684.06 | 1348.97 | 423.58 | 479.3 |
| 4 | #74 | 1460.13 | 1534.46 | 951.72 | 480.06 | 449.71 |
| 5 | #75 | 1287.47 | 1331.69 | 1026.06 | 216.14 | 456.94 |

## Limitations

- Measures a single dedicated repository created for benchmark verification rather than an existing multi-gigabyte monorepo.
- Branch-protection CI checks in Scenario 1 use GitCore commit statuses (not external multi-minute container test suites).
- Throughput is not extrapolated beyond the observed wall-clock run.
