{
  "captured": "2026-11-26",
  "note": "Snapshot of the compile-time section of song/docs/BENCH.md. Capture date is not a fresh benchmark date.",
  "host": {
    "cpu": "Intel Core i5-10210U, 4 cores and 8 threads, 6 MiB L3",
    "kernel": "Linux 7.0.0-42-generic",
    "load": "an unrelated Python analysis held about half a core throughout; the powersave governor reported 0.8 GHz idle"
  },
  "compiler_versions": {
    "songc": "archived tree /home/lucas/Workspace/old/song, revision b806e343",
    "rustc": "1.99.0-nightly",
    "gcc": "15.2.0",
    "clang": "not installed",
    "llc": "not installed",
    "opt": "not installed",
    "cranelift": "not installed; the rustc-codegen-cranelift component is absent and the cargo cache holds no cranelift-* crate"
  },
  "compile_ms": {
    "l1_print": {
      "songc": 74,
      "rustc_o": 225,
      "rustc_o0": 196,
      "gcc_o2": 113,
      "songc_over_rustc_o": 3.0,
      "songc_over_rustc_o0": 2.6,
      "songc_over_gcc_o2": 1.5
    },
    "spmv": {
      "songc": 139,
      "rustc_o": 668,
      "rustc_o0": 392,
      "gcc_o2": 319,
      "songc_over_rustc_o": 4.8,
      "songc_over_rustc_o0": 2.8,
      "songc_over_gcc_o2": 2.3
    }
  },
  "phase_split_ms": {
    "hello": {
      "total": 201,
      "llvm": 10,
      "llvm_optimizer": 0,
      "llvm_object_emission": 10,
      "front_end": 92,
      "external_link": 103,
      "note": "The optimizer did not move the IR time on hello; the 10 ms is object emission. Phases were run separately from the paired table and may not sum to the total."
    },
    "spmv": {
      "total": 604,
      "llvm": 258,
      "llvm_optimizer": 196,
      "llvm_object_emission": 62,
      "front_end": 258,
      "external_link": 88,
      "note": "The front end matched the LLVM share on spmv."
    }
  },
  "self_compile": {
    "songc": {
      "lines": 20440,
      "wall_s": 57.6,
      "user_s": 53.5,
      "median_of": 6,
      "wall_range_s": [39.4, 68.0]
    },
    "rustc_serial": {
      "lines": 22622,
      "wall_s": 81.3,
      "user_s": 75.2,
      "flags": "-j1 -C codegen-units=1"
    },
    "rustc_parallel": {
      "wall_s": 39.7,
      "user_s": 132.0
    },
    "note": "The two programs differ, so this is a scale indicator, not an equivalent-program result. Single-threaded, songc is 1.4x faster in wall and CPU time. The parallel rustc build is 1.45x faster in wall time and spends 2.5x the CPU."
  },
  "law_check": {
    "song_build_l1_s": 1.93,
    "song_build_spmv_s": 2.02,
    "laws": 38,
    "files": 2,
    "note": "26x the raw songc time on l1; the proof gate, not codegen."
  },
  "program_scale": {
    "host_laws": {
      "source": "programs/lang/host_laws.slang in the archived tree old/song, revision b806e343",
      "lines": 453,
      "bytes": 21095,
      "compile_s": 24.8,
      "kind": "raw songc",
      "note": "Program-dependent outlier recorded in BENCH.md; not a tree arm."
    }
  }
}
