interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / bench / omc_efficiency / PROTOCOL-2.md

81 lines · 5488 bytes Raw Blame History Source

OMC-EFF-2: in-process runtime correction to OMC-EFF-1 (before any candidate measurement)

Status: frozen in the commit that adds this file. Written after the OMC-EFF-1 baseline (evidence/OMC-EFF-1/baseline/, protocol PROTOCOL.md sha256 ae1d1b2ace22bd30993f2ac14965d0e5ec62d9d66ae4b4e9521a417e5c74033a, freeze 951de2eb) and before any candidate compiler was built or measured. PROTOCOL.md is not edited; this document says exactly what changes from it. Everything it does not mention is unchanged.

1. Why

OMC-EFF-1 timed each program from fork to waitpid, so the wall metric includes process creation, exec, loader work (static C start-up, the omc entry) and the output. The repository's A/B rule (ab-parity-bench) requires the verdict metric to be an in-process time of the computation. The correction was requested by the compiler owner before any candidate exists. The OMC-EFF-1 baseline evidence stays as filed and stays valid as a statement about its own metric; its numbers are never restated as in-process numbers.

2. What changes in the programs

3. What changes in the conductor and coordinator

4. The verdict metric (replaces "wall" in PROTOCOL.md section 8)

The A/B rule of PROTOCOL.md section 8 is applied unchanged, with the in-process runtime_ns paired ratio omcC / omcB in place of the fork-to-wait wall ratio:

The interval is the same distribution-free 95% interval of the median, x(6) .. x(16) of the 21 sorted paired ratios. Ratios are written with their direction: omcC/omcB runtime 0.87 (below 1 = faster). The fork-to-wait wall ratio, cycles and the ratio to cO2 are reported beside it, labelled report only. Instruction counts still come from perf stat over the whole process (deterministic for omc; output and start-up instructions are identical for both omc arms).

5. Validity additions

On top of PROTOCOL.md section 5: every real T row carries a valid runtime line; the C placement check of section 2 holds; selftest.sh passes all of its checks. Absolute nanoseconds are reported as this machine, report only, not a gate.

Null control (declared here, run once after this freeze, before any candidate): run.sh --ab with BASE = CAND = the OMC-EFF-1 omc (befb8199…a1d), seed 20261028. With identical compilers every case must come out NO_CHANGE under section 4 and every instruction ratio must be exactly 1. Any other verdict means the in-process metric or its thresholds are too noisy on this machine; that is reported before any candidate verdict is given, and the thresholds are not widened.

6. Disclosures

The kernels and C twins were changed and run before this freeze only to check that stdout still equals want/, that each program writes exactly one decimal stderr line, and that the C timed regions sit between the clock reads; no runtime value was read. No candidate compiler exists in this tree.