{
  "measured_at_utc": "2026-10-03T05:27:43.085106+00:00",
  "hardware": "Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz",
  "os": "Linux-7.2.3-arch1-3-x86_64-with-glibc2.44",
  "target": "x86_64-unknown-linux-gnu",
  "emitter_source_commit": "c24d8798f04b8a62ad9ae84bca729922f87d9455",
  "corpus_manifest": "/benchmarks/aihc-base-object-corpus.json",
  "corpus_archive_sha256": "780c82adf866f6ae44f00d22775a90fb43a832b885277b5d25523de22e8e54d8",
  "modules": 270,
  "empty_modules": 94,
  "functions": 38857,
  "lir_bytes": 84488840,
  "ghc": "9.12.4",
  "clang": "clang version 22.1.8\nTarget: x86_64-pc-linux-gnu\nThread model: posix\nInstalledDir: /usr/bin",
  "printer_adjustments": "AMD64 fixture printer with Intel syntax prefix and explicit instruction operand widths.",
  "method": "Complete frozen aihc-base 4.21.2.0 LIR corpus, originally compiled for apple-arm64 at -O0. The selected backend lowers this same LIR for the measured target. All 270 module outputs included. Empty modules write zero bytes in both modes, without an assembler invocation. Nine alternating-order pairs after one warmup per mode. Fresh process per pass. One module stream at a time, fully forced before its timer. Sum of per-module elapsed object-output time. GHC -O2 backend and harness, single capability, -A16m. Includes output writes to warm filesystem cache, without fsync. Text path includes printing and one Clang integrated assembler invocation per nonempty module. Excludes front-end work, LIR parsing, instruction selection, preflight GC, harness startup, linking and validation.",
  "samples": [
    {
      "mode": "direct",
      "pair": 0,
      "emit_ms": 1483.692311,
      "assembler_ms": 0.009189,
      "total_ms": 1483.7015000000001,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": 0,
      "emit_ms": 2204.716056,
      "assembler_ms": 8343.188162,
      "total_ms": 10547.904218,
      "object_bytes": 33088960
    },
    {
      "mode": "asm",
      "pair": 1,
      "emit_ms": 2195.12207,
      "assembler_ms": 8385.69556,
      "total_ms": 10580.81763,
      "object_bytes": 33088960
    },
    {
      "mode": "direct",
      "pair": 1,
      "emit_ms": 1482.642555,
      "assembler_ms": 0.010459,
      "total_ms": 1482.653014,
      "object_bytes": 46799696
    },
    {
      "mode": "direct",
      "pair": 2,
      "emit_ms": 1478.032444,
      "assembler_ms": 0.008926,
      "total_ms": 1478.04137,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": 2,
      "emit_ms": 2236.244712,
      "assembler_ms": 8391.499907,
      "total_ms": 10627.744619,
      "object_bytes": 33088960
    },
    {
      "mode": "asm",
      "pair": 3,
      "emit_ms": 2196.468371,
      "assembler_ms": 8432.455504,
      "total_ms": 10628.923875,
      "object_bytes": 33088960
    },
    {
      "mode": "direct",
      "pair": 3,
      "emit_ms": 1482.589244,
      "assembler_ms": 0.010098,
      "total_ms": 1482.599342,
      "object_bytes": 46799696
    },
    {
      "mode": "direct",
      "pair": 4,
      "emit_ms": 1468.207814,
      "assembler_ms": 0.01122,
      "total_ms": 1468.2190340000002,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": 4,
      "emit_ms": 2189.973966,
      "assembler_ms": 8361.724031,
      "total_ms": 10551.697997,
      "object_bytes": 33088960
    },
    {
      "mode": "asm",
      "pair": 5,
      "emit_ms": 2220.502514,
      "assembler_ms": 8339.903746,
      "total_ms": 10560.40626,
      "object_bytes": 33088960
    },
    {
      "mode": "direct",
      "pair": 5,
      "emit_ms": 1477.81606,
      "assembler_ms": 0.008825,
      "total_ms": 1477.824885,
      "object_bytes": 46799696
    },
    {
      "mode": "direct",
      "pair": 6,
      "emit_ms": 1471.15093,
      "assembler_ms": 0.009161,
      "total_ms": 1471.160091,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": 6,
      "emit_ms": 2218.086865,
      "assembler_ms": 8551.232802,
      "total_ms": 10769.319667,
      "object_bytes": 33088960
    },
    {
      "mode": "asm",
      "pair": 7,
      "emit_ms": 2201.865684,
      "assembler_ms": 8374.160293,
      "total_ms": 10576.025977000001,
      "object_bytes": 33088960
    },
    {
      "mode": "direct",
      "pair": 7,
      "emit_ms": 1484.113707,
      "assembler_ms": 0.011026,
      "total_ms": 1484.1247329999999,
      "object_bytes": 46799696
    },
    {
      "mode": "direct",
      "pair": 8,
      "emit_ms": 1520.985476,
      "assembler_ms": 0.009103,
      "total_ms": 1520.9945790000002,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": 8,
      "emit_ms": 2187.353802,
      "assembler_ms": 8381.498869,
      "total_ms": 10568.852670999999,
      "object_bytes": 33088960
    }
  ],
  "summary": {
    "direct": {
      "emit_ms": 1482.589244,
      "assembler_ms": 0.009189,
      "total_ms": 1482.599342,
      "range_ms": [
        1468.2190340000002,
        1520.9945790000002
      ]
    },
    "asm": {
      "emit_ms": 2201.865684,
      "assembler_ms": 8381.498869,
      "total_ms": 10576.025977000001,
      "range_ms": [
        10547.904218,
        10769.319667
      ]
    },
    "speedup": 7.133434959395794
  },
  "validation": {
    "modules_checked": 270,
    "nonempty_elf_objects_checked": 176,
    "empty_outputs_equal": true,
    "normalized_decoded_instructions_equal": true,
    "instruction_normalization": "Normalize implicit one-bit shifts. Ignore alignment NOPs, branch destination addresses, RIP-relative displacements and symbol annotations. ELF section layout and branch encodings differ. This does not independently verify every relocation or branch target.",
    "external_symbols_equal": true,
    "capi_wrappers_excluded_from_timing": 6,
    "linked_and_executed_both_complete_archives": true,
    "smoke_source": "scripts/object-emission/BaseSmoke.hs",
    "smoke_expected_output": "338350\n[1,2,3,5,8]\n1267650600228229401496703205376\n3.75\n\"AIHC BASE\"\n",
    "smoke_outputs": {
      "direct": "338350\n[1,2,3,5,8]\n1267650600228229401496703205376\n3.75\n\"AIHC BASE\"\n",
      "asm": "338350\n[1,2,3,5,8]\n1267650600228229401496703205376\n3.75\n\"AIHC BASE\"\n"
    },
    "timed_outputs_match_validated_preflight_sha256": true,
    "compiler_source_commit": "c24d8798f04b8a62ad9ae84bca729922f87d9455",
    "compiler_binary_sha256": "70ef66f2e297d5f31af99029b5b639873567c419e123160c801e919448d9c0e0"
  },
  "timing_isolation": {
    "continuous_benchmark_service_frozen": true,
    "continuous_benchmark_service_resumed_after_run": true
  },
  "bench_binary_sha256": "cba0bd20d0d7bac18c7c2e620c9a0e8873ff6e1e78fa7ca2106f93004bb24811",
  "benchmark_sources_sha256": {
    "Bench.hs": "50bed56ebcad74ae480fcccdfa7aee354e9b96d66fbd7c0aaf8f10f4b10efd6f",
    "base-run.py": "bbebb67571a9b97e20df2a2e8f55a060c6478c855f01fcb1b359c49339849b01",
    "patch-amd64-printer.py": "64470ca29c98ec2ffeeacb4d059e407a5ce449f4a34ae6b521e908af0f638077"
  },
  "haskell_dependency_versions": {
    "primitive": "version: 0.9.1.0",
    "vector": "version: 0.13.2.0",
    "megaparsec": "version: 9.7.0",
    "prettyprinter": "version: 1.7.1"
  },
  "warmups": [
    {
      "mode": "direct",
      "pair": null,
      "emit_ms": 1478.740196,
      "assembler_ms": 0.009301,
      "total_ms": 1478.749497,
      "object_bytes": 46799696
    },
    {
      "mode": "asm",
      "pair": null,
      "emit_ms": 2241.916472,
      "assembler_ms": 8400.213931,
      "total_ms": 10642.130403,
      "object_bytes": 33088960
    }
  ]
}
