{
  "generatedBy": "bench.mjs",
  "startedAt": "2026-08-16T10:26:33.070Z",
  "finishedAt": "2026-08-16T10:26:33.389Z",
  "machine": {
    "cpu": "Apple M1",
    "os": "Darwin 26.3",
    "arch": "arm64",
    "node": "v22.18.0",
    "python": "Python 3.13.5"
  },
  "metricCount": 19,
  "metrics": [
    {
      "metric": "mistral_7b_calc_predicted_mb",
      "value": 4898,
      "unit": "MB"
    },
    {
      "metric": "mistral_7b_calc_delta_pct",
      "value": 9.8,
      "unit": "%"
    },
    {
      "metric": "mistral_7b_bytes_per_param",
      "value": 0.6033,
      "note": "own install: file size / general.parameter_count"
    },
    {
      "metric": "phi3_mini_calc_predicted_mb",
      "value": 3795,
      "unit": "MB"
    },
    {
      "metric": "phi3_mini_calc_delta_pct",
      "value": 4.7,
      "unit": "%"
    },
    {
      "metric": "phi3_mini_bytes_per_param",
      "value": 0.5695,
      "note": "own install: file size / general.parameter_count"
    },
    {
      "metric": "llama3_2_3b_calc_predicted_mb",
      "value": 2520,
      "unit": "MB"
    },
    {
      "metric": "llama3_2_3b_calc_delta_pct",
      "value": 8,
      "unit": "%"
    },
    {
      "metric": "llama3_2_3b_bytes_per_param",
      "value": 0.6286,
      "note": "own install: file size / general.parameter_count"
    },
    {
      "metric": "qwen2_5_1_5b_calc_predicted_mb",
      "value": 1159,
      "unit": "MB"
    },
    {
      "metric": "qwen2_5_1_5b_calc_delta_pct",
      "value": 7.3,
      "unit": "%"
    },
    {
      "metric": "qwen2_5_1_5b_bytes_per_param",
      "value": 0.6388,
      "note": "own install: file size / general.parameter_count"
    },
    {
      "metric": "llama3_2_1b_calc_predicted_mb",
      "value": 1505,
      "unit": "MB"
    },
    {
      "metric": "llama3_2_1b_calc_delta_pct",
      "value": 6.3,
      "unit": "%"
    },
    {
      "metric": "llama3_2_1b_bytes_per_param",
      "value": 1.069,
      "note": "own install: file size / general.parameter_count"
    },
    {
      "metric": "overhead_flat_mb",
      "value": 75,
      "note": "calculator-core.mjs OVERHEAD_FLAT_MB default"
    },
    {
      "metric": "overhead_pct",
      "value": 3,
      "note": "calculator-core.mjs OVERHEAD_PCT default, as a percent"
    },
    {
      "metric": "legacy_overhead_15pct_600mb_delta_pct",
      "value": 55.2,
      "unit": "%",
      "note": "pre-calibration overhead guess (15%+600MB) replayed against llama3.2:1b field-test RSS"
    },
    {
      "metric": "calculator_test_suite_pass",
      "value": 1,
      "note": "test-calculator.mjs exited 0"
    }
  ],
  "log": [
    "wrote calculator.html with 5 presets and 5 validation rows",
    "5 validation rows computed",
    "ok   rejects zero context length",
    "ok   rejects negative bytesPerParam",
    "ok   more context never uses less memory",
    "ok   doubling batch size doubles KV cache term only",
    "ok   weights term matches paramCount * bytesPerParam exactly",
    "ok   llama3.2:1b predicted (1505MB) vs measured RSS (1415MB) within 40%",
    "  -> validation delta: 6.3% (overhead defaults are a heuristic, not exact)",
    "",
    "all checks passed",
    ""
  ]
}
