{
 "schema": "flintstack.benchmarks/1",
 "updated": "2026-08-12",
 "machine": "8 vCPU, 32 GiB RAM, local NVMe, page cache dropped between runs",
 "note": "Median of seven runs per scenario. Speedup is relative to the cold run of the same corpus.",
 "datasets": [
  {
   "id": "cpp-2310",
   "label": "C/C++ · 2310 targets",
   "targets": 2310,
   "desc": "The reference corpus: ~180k lines of C and C++, 9k of it generated, local fs backend only.",
   "scenarios": [
    {
     "name": "cold",
     "store": "empty",
     "median": 708,
     "p95": 721,
     "speedup": 1.0,
     "hit": 0.0
    },
    {
     "name": "incremental",
     "store": "full, 12 % of units touched",
     "median": 202,
     "p95": 219,
     "speedup": 3.5,
     "hit": 78.4
    },
    {
     "name": "warm",
     "store": "full, nothing touched",
     "median": 69,
     "p95": 74,
     "speedup": 10.3,
     "hit": 94.1
    }
   ]
  },
  {
   "id": "cpp-heavy",
   "label": "C++ · 40 large TUs",
   "targets": 40,
   "desc": "Few enormous translation units. The win is small by construction: each entry is a multi-second compile either way.",
   "scenarios": [
    {
     "name": "cold",
     "store": "empty",
     "median": 905,
     "p95": 940,
     "speedup": 1.0,
     "hit": 0.0
    },
    {
     "name": "incremental",
     "store": "full, one TU touched",
     "median": 548,
     "p95": 602,
     "speedup": 1.65,
     "hit": 58.0
    },
    {
     "name": "warm",
     "store": "full, nothing touched",
     "median": 431,
     "p95": 470,
     "speedup": 2.1,
     "hit": 61.2
    }
   ]
  },
  {
   "id": "mono-objs",
   "label": "Monorepo · objs backend",
   "targets": 5400,
   "desc": "A 5400-target tree against a shared objs backend over a 1 Gbit link - the network restore is in the number.",
   "scenarios": [
    {
     "name": "cold",
     "store": "empty, shared cache warm elsewhere",
     "median": 1126,
     "p95": 1180,
     "speedup": 1.0,
     "hit": 0.0
    },
    {
     "name": "incremental",
     "store": "objs hit, 15 % local miss",
     "median": 362,
     "p95": 441,
     "speedup": 3.1,
     "hit": 84.6
    },
    {
     "name": "warm",
     "store": "objs hit, local fs cold",
     "median": 131,
     "p95": 168,
     "speedup": 8.6,
     "hit": 92.0
    }
   ]
  },
  {
   "id": "gen-heavy",
   "label": "Generated-heavy · 1800 targets",
   "targets": 1800,
   "desc": "A third of the sources are generated and not fully reproducible, so the hit rate plateaus lower.",
   "scenarios": [
    {
     "name": "cold",
     "store": "empty",
     "median": 640,
     "p95": 661,
     "speedup": 1.0,
     "hit": 0.0
    },
    {
     "name": "incremental",
     "store": "full, 20 % touched",
     "median": 404,
     "p95": 452,
     "speedup": 1.58,
     "hit": 64.0
    },
    {
     "name": "warm",
     "store": "full, nothing touched",
     "median": 286,
     "p95": 331,
     "speedup": 2.24,
     "hit": 71.0
    }
   ]
  }
 ]
}