{"schema":"mech.ekf-study.v1","article_url":"https://mech-lang.org/iros-r4r-2026/index.html","studies":[{"id":"backends","title":"Mech execution backends","machine":"Apple M1","precision":"f32","instances":500000,"turns":40,"scope":"Publication after every turn · 5 warmups · compilation, loading, allocation, packing, worker startup and readback excluded.","methods":{"sample_unit":"one fresh OS process per backend and mode","execution_order":"sequential; all ten cases once per deterministically shuffled round","summary":"median throughput plus unscaled median absolute deviation","outlier_removal":"none","warmup":"5 turns in the same session and compiled backend, followed immediately by 40 measured turns by default; no reset or recompilation between warmup and measurement","timed_work":"resident numerical turns, declared checks when enabled, completed publication every turn","excluded_work":"source/backend compilation, dynamic library load, allocation, packing, worker startup, final state readback and checksum","unchecked":"only the three named EKF source guards and guard-only instructions removed; state publication retained","input_precision":"common host-generated f32 arrays; phase and trigonometric arguments calculated in f32","validation":"all state components for 45 turns on at most 4092 instances against scalar checked; abs 2e-4 + rel 1e-5; checked NaN rejection preserves initial published state and reports the verified observed fault lane; 4092 exercises a partial Metal group and uneven 8-worker partitions","preflight_samples":"separate fresh processes before the measured campaign; excluded from the summary"},"recorded_at":"2026-09-25T14:17:08.272468+00:00","evidence_url":"/benchmarks/ekf-evidence/apple-m1-mech-backend-pairs-n10-2026-09-25.json","original_evidence_url":"https://mech-lang.org/iros-r4r-2026/evidence/apple-m1-mech-backend-pairs-n10-2026-09-25.json","rows":[{"id":"resident-numerical-evaluator-·-1-worker:checked","label":"Resident numerical evaluator · 1 worker","mode":"checked","samples_million_filter_turns_per_second":[0.6963119506784141,0.691474818202843,0.6914666541027176,0.6943103467182352,0.6954768079240193,0.6963518763439652,0.6945469192474181,0.6959045966642866,0.6963894080737908,0.6946073545903646],"median":0.695042081257192,"mad":0.00106619241415834,"n":10,"time_seconds":1.4387623687500002e-06,"samples_seconds_per_filter_turn":[1.4361379250000001e-06,1.4461842625e-06,1.4462013375e-06,1.44027811875e-06,1.43786246875e-06,1.4360555833500002e-06,1.4397875396000002e-06,1.4369785812500002e-06,1.4359781875000002e-06,1.4396622687500001e-06],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"evaluator","is_mech":true,"category":"cpu-interpreted","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"resident-numerical-evaluator-·-1-worker:unchecked","label":"Resident numerical evaluator · 1 worker","mode":"unchecked","samples_million_filter_turns_per_second":[0.8254288291068161,0.8253607752653016,0.8277262381964557,0.8287030600235645,0.8280472207818971,0.8274474938954149,0.8252878258347235,0.8291389353808394,0.8284888884047696,0.8294064093323731],"median":0.8278867294891764,"mad":0.0010342682130255465,"n":10,"time_seconds":1.20789475415e-06,"samples_seconds_per_filter_turn":[1.2114914875e-06,1.2115913791500001e-06,1.2081289125000001e-06,1.2067048479e-06,1.2076605958e-06,1.2085358979e-06,1.211698475e-06,1.2060704875000001e-06,1.20701679165e-06,1.20568154375e-06],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"evaluator","is_mech":true,"category":"cpu-interpreted","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"scalar-jit-·-1-worker:checked","label":"Scalar JIT · 1 worker","mode":"checked","samples_million_filter_turns_per_second":[13.21602531987453,13.230390242373392,13.22333429530666,13.224833125865127,13.25392099011784,13.219679343457845,13.221980746763814,13.226292944533226,13.213348055231718,13.291288195047787],"median":13.224083710585894,"mad":0.0053554494577738865,"n":10,"time_seconds":7.561960625000001e-08,"samples_seconds_per_filter_turn":[7.56657146e-08,7.558356040000001e-08,7.562389165000001e-08,7.561532085e-08,7.544937085e-08,7.56448e-08,7.563163335e-08,7.560697500000001e-08,7.568104585e-08,7.523725205e-08],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"scalar-jit","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"scalar-jit-·-1-worker:unchecked","label":"Scalar JIT · 1 worker","mode":"unchecked","samples_million_filter_turns_per_second":[15.970489193459889,15.897644074231627,15.68643189085235,15.980435153241887,15.974050678621442,15.982320357220843,15.879842529097784,15.980814495243093,15.92689818755498,15.90943395626059],"median":15.948693690507435,"mad":0.032873735724533226,"n":10,"time_seconds":6.27011771e-08,"samples_seconds_per_filter_turn":[6.26154896e-08,6.29024021e-08,6.37493604e-08,6.257651874999999e-08,6.260152920000001e-08,6.25691375e-08,6.297291665e-08,6.257503335000001e-08,6.27868646e-08,6.28557875e-08],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"scalar-jit","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"simd-aot-·-mech-session-·-1-worker:checked","label":"SIMD AOT · Mech session · 1 worker","mode":"checked","samples_million_filter_turns_per_second":[34.641627333538175,34.61564090426439,34.61328705684537,34.627335207970695,34.60680115039167,34.62262459236231,34.605755770145116,34.617558198606126,34.29748567276126,34.6836120760145],"median":34.61659955143526,"mad":0.010267028789513688,"n":10,"time_seconds":2.8887875000000003e-08,"samples_seconds_per_filter_turn":[2.8867004150000003e-08,2.8888675000000004e-08,2.8890639550000004e-08,2.8878918750000003e-08,2.889605415e-08,2.8882847900000004e-08,2.8896927050000005e-08,2.8887075e-08,2.915665625e-08,2.8832060450000003e-08],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"simd-aot","is_mech":true,"category":"cpu-aot","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"simd-aot-·-mech-session-·-1-worker:unchecked","label":"SIMD AOT · Mech session · 1 worker","mode":"unchecked","samples_million_filter_turns_per_second":[37.00580194725714,35.68238126885224,36.993934513340825,37.135500510019895,37.1518753413108,37.11250483453003,36.808455370402136,37.18796681066932,37.11343745353572,36.695143627085606],"median":37.059153390893584,"mad":0.08453453477176254,"n":10,"time_seconds":2.6983942725e-08,"samples_seconds_per_filter_turn":[2.7022789600000002e-08,2.8025035450000003e-08,2.7031458350000005e-08,2.692841045e-08,2.6916541650000002e-08,2.694509585e-08,2.7167670850000004e-08,2.689041875e-08,2.6944418750000003e-08,2.7251562500000003e-08],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"simd-aot","is_mech":true,"category":"cpu-aot","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"simd-jit-·-8-workers:checked","label":"SIMD JIT · 8 workers","mode":"checked","samples_million_filter_turns_per_second":[121.44138783218014,119.38195959517577,120.53935382082871,121.80128880988723,121.30331263152804,121.0121153215448,121.98524893377268,121.13023643816636,120.48102047424342,120.54728467241276],"median":121.07117587985559,"mad":0.5278566332348547,"n":10,"time_seconds":8.259606225000001e-09,"samples_seconds_per_filter_turn":[8.234425000000001e-09,8.376475e-09,8.2960458e-09,8.21009375e-09,8.24379795e-09,8.263635400000002e-09,8.197712500000001e-09,8.25557705e-09,8.300062500000002e-09,8.2955e-09],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"simd-jit-8w","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"simd-jit-·-8-workers:unchecked","label":"SIMD JIT · 8 workers","mode":"unchecked","samples_million_filter_turns_per_second":[141.3460026467039,142.3079865020875,114.72258904929407,142.53808662217696,141.94405426981095,140.79281051087037,111.9140947408769,142.45720240181134,140.15195976237234,142.03793097379827],"median":141.64502845825743,"mad":0.8321959454704881,"n":10,"time_seconds":7.059933325e-09,"samples_seconds_per_filter_turn":[7.0748375e-09,7.0270125000000005e-09,8.71667915e-09,7.015668750000001e-09,7.04502915e-09,7.1026354e-09,8.935425000000002e-09,7.0196521e-09,7.1351125e-09,7.0403728999999994e-09],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"simd-jit-8w","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"metal-gpu-·-per-turn:checked","label":"Metal GPU · per turn","mode":"checked","samples_million_filter_turns_per_second":[423.1927216268747,418.0445502134316,418.6100113179589,424.3394037984699,420.5634498819794,415.87174515379456,418.70092511132003,421.22888261140844,421.7177648376493,424.1530384881557],"median":420.89616624669395,"mad":2.2913551544579036,"n":10,"time_seconds":2.375884375e-09,"samples_seconds_per_filter_turn":[2.3629896000000002e-09,2.39208955e-09,2.3888583000000002e-09,2.3566041500000004e-09,2.3777625e-09,2.4045875000000003e-09,2.3883396e-09,2.37400625e-09,2.37125415e-09,2.3576396000000004e-09],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"metal","is_mech":true,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"},{"id":"metal-gpu-·-per-turn:unchecked","label":"Metal GPU · per turn","mode":"unchecked","samples_million_filter_turns_per_second":[423.62447808140473,425.918558323605,419.0591627306884,426.6647734128454,421.34498290413796,416.5849379091606,416.0710955659553,421.60960005059314,420.1485779819289,420.13717478756814],"median":420.74678044303346,"mad":2.282657675358166,"n":10,"time_seconds":2.37673125e-09,"samples_seconds_per_filter_turn":[2.36058125e-09,2.3478667000000003e-09,2.3862979000000005e-09,2.3437604e-09,2.3733521e-09,2.4004708500000004e-09,2.4034354e-09,2.3718625e-09,2.3801104e-09,2.380175e-09],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/da531cddcb25d002d49f1a77800122e84b573e2685e191c1955908ef6fccd625.mec.txt","version":"f4b69052 · Cranelift 0.131.3","backend":"metal","is_mech":true,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/f4b69052cc6d1d618e1c80acac947795ab2e8472/examples/embedded_ekf/ekf.mec"}]},{"id":"cpu","title":"CPU implementations","machine":"Apple M1","precision":"f32","instances":500000,"turns":40,"scope":"Eight-worker budget · steady-state execution; the fused Mech/Rust block publishes after 40 turns. Other fault interfaces differ.","methods":{"instances":500000,"turns":40,"workers":8,"samples_per_implementation_mode":10,"summary_statistic":"median","uncertainty_statistic":"median absolute deviation","measurement_order":"Each round contains every implementation/mode once in deterministic shuffled order; CPU and Metal are separate campaigns.","warmup_turns":5,"outlier_policy":"No samples removed or replaced.","versions":{"rustc":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","julia":"julia version 1.12.6","futhark":"Futhark 0.27.1.\nCompiled with GHC 9.14.1.\n\nCopyright (C) DIKU, University of Copenhagen, released under the ISC license.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.","ispc":"Intel(r) Implicit SPMD Program Compiler (Intel(r) ISPC), 1.31.0 (build commit  @ 20260625, LLVM 22.1.8)","python":"Python 3.12.14","python_packages":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","halide":"halide 21.0.0_1","mojo":"Mojo 1.1.0 (8189361e); MAX 26.6.0"},"source_revisions":{"cpu_fused_and_per_turn":"eedc1c75b5a780a92d3f50f094be873f93bca6b9","direct_metal":"45a21a62d4f0e68adc40bb537a8f26e1d11df7d5","cpu_harness_patch":"benchmarks/iros-2026/mech-cpu-n10-validation-tolerance.patch","cpu_harness_patch_scope":"Raises only the untimed 40-turn scalar-vs-SIMD validation tolerance from 1e-4 to 2e-4; measured code and timed regions are unchanged."},"excluded_work":"Compilation, device preparation and warmup. These are warm execution measurements, not complete-process timings."},"recorded_at":"2026-09-24T23:02:10.165826-04:00","evidence_url":"/benchmarks/ekf-evidence/apple-m1-cpu-equal-n10-2026-09-24.json","original_evidence_url":"https://mech-lang.org/iros-r4r-2026/evidence/apple-m1-cpu-equal-n10-2026-09-24.json","rows":[{"id":"halide-native-cpu:checked","label":"Halide native CPU","mode":"checked","samples_million_filter_turns_per_second":[23.383487359429232,22.734006824269162,22.907054055493486,22.317580283310527,22.990651752698312,23.092894922420864,20.61251903920411,21.795814359055253,20.37832010965631,20.1774098763377],"median":22.525793553789846,"mad":0.6485402816828056,"n":10,"time_seconds":4.4397345825e-08,"samples_seconds_per_filter_turn":[4.27652208e-08,4.398696665e-08,4.3654674999999995e-08,4.480772499999999e-08,4.34959396e-08,4.330336249999999e-08,4.851420625e-08,4.588036875e-08,4.9071758349999996e-08,4.9560375e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/5941d8acbe6e9d04956799d818524d687166102035813c2967b0ab8bb5a99e89-halide-metal-matched.cpp.txt","version":"halide 21.0.0_1","is_mech":false,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/halide-metal-matched.cpp"},{"id":"halide-native-cpu:unchecked","label":"Halide native CPU","mode":"unchecked","samples_million_filter_turns_per_second":[23.559780793344117,23.577905969542652,23.39407248664589,23.556706366096837,23.568680180495363,23.42296244686141,21.197623322473085,20.43290689005283,20.835269450747045,26.093715338576317],"median":23.489834406479122,"mad":0.09191674144838125,"n":10,"time_seconds":4.257195207499999e-08,"samples_seconds_per_filter_turn":[4.244521665e-08,4.2412587499999997e-08,4.27458708e-08,4.2450756249999997e-08,4.2429189599999997e-08,4.2693147899999996e-08,4.7175099999999996e-08,4.894066249999999e-08,4.7995539599999994e-08,3.83234042e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/5941d8acbe6e9d04956799d818524d687166102035813c2967b0ab8bb5a99e89-halide-metal-matched.cpp.txt","version":"halide 21.0.0_1","is_mech":false,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/halide-metal-matched.cpp"},{"id":"rust-packed-simd:checked","label":"Rust packed SIMD","mode":"checked","samples_million_filter_turns_per_second":[155.12539181,150.13591992500002,154.442738822,149.799970227,154.383527278,150.08217036300002,148.636630875,147.476402964,147.41675140200002,138.559488722],"median":149.941070295,"mad":2.4944931120000007,"n":10,"time_seconds":6.669292700016344e-09,"samples_seconds_per_filter_turn":[6.446397899995737e-09,6.660631250000314e-09,6.474891649989001e-09,6.675568750011405e-09,6.477374999984874e-09,6.6630166500212835e-09,6.727816649995094e-09,6.7807458000186435e-09,6.783489599991503e-09,7.21711670000716e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/3027bd5f68d7bc98f1b81c1bb43fc85acc0b6b915e10a9edd535d56cdc673a9e-rust_simd.rs.txt","version":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/rust_simd.rs"},{"id":"rust-packed-simd:unchecked","label":"Rust packed SIMD","mode":"unchecked","samples_million_filter_turns_per_second":[171.227319154,169.75298818299999,172.267699699,171.71644079499998,171.99449425,142.440757998,164.707956898,161.18113536,172.151732161,159.05484268200001],"median":170.4901536685,"mad":1.719562261500002,"n":10,"time_seconds":5.865551025007916e-09,"samples_seconds_per_filter_turn":[5.840189550013398e-09,5.890912500002433e-09,5.8049187499878415e-09,5.823554199995495e-09,5.814139599994783e-09,7.020462500024332e-09,6.071352100003754e-09,6.2041999999968225e-09,5.808829150001107e-09,6.287139600014004e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/3027bd5f68d7bc98f1b81c1bb43fc85acc0b6b915e10a9edd535d56cdc673a9e-rust_simd.rs.txt","version":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/rust_simd.rs"},{"id":"futhark-ispc-aot:checked","label":"Futhark ISPC AOT","mode":"checked","samples_million_filter_turns_per_second":[99.07513362758648,98.59502095144195,96.75063008847845,99.18420987378809,98.83180802909608,98.21542571476276,97.57858735479087,95.65487720305138,95.87635784891803,87.80864739559551],"median":97.8970065347768,"mad":1.1622517695540182,"n":10,"time_seconds":1.0214924999999998e-08,"samples_seconds_per_filter_turn":[1.0093349999999999e-08,1.01425e-08,1.0335850000000001e-08,1.008225e-08,1.01182e-08,1.01817e-08,1.0248149999999998e-08,1.045425e-08,1.04301e-08,1.13884e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/8f662c6bc6c9534551d3c7a8de451931e8076c94b2953531133fcd26eac4a963-futhark_ekf.fut.txt","version":"Futhark 0.27.1.","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/futhark_ekf.fut"},{"id":"futhark-ispc-aot:unchecked","label":"Futhark ISPC AOT","mode":"unchecked","samples_million_filter_turns_per_second":[148.89150276193737,148.87931098654875,154.32455998209835,151.61967720170725,152.66010228226853,150.45286311798515,149.8149785015506,147.1897791417364,150.04764012573992,144.7418890263937],"median":149.93130931364527,"mad":1.3701831075792512,"n":10,"time_seconds":6.6697249999999995e-09,"samples_seconds_per_filter_turn":[6.7163e-09,6.71685e-09,6.47985e-09,6.595449999999999e-09,6.5505e-09,6.646599999999999e-09,6.674899999999999e-09,6.793949999999999e-09,6.66455e-09,6.908849999999999e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/8f662c6bc6c9534551d3c7a8de451931e8076c94b2953531133fcd26eac4a963-futhark_ekf.fut.txt","version":"Futhark 0.27.1.","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/futhark_ekf.fut"},{"id":"numpy/numba:checked","label":"NumPy/Numba","mode":"checked","samples_million_filter_turns_per_second":[80.043316605,79.342304957,79.584766478,76.088288555,79.517856478,79.418326796,79.817828867,76.55556129,78.617202029,72.445689478],"median":79.38031587649999,"mad":0.5502568595000099,"n":10,"time_seconds":1.2597584404287548e-08,"samples_seconds_per_filter_turn":[1.2493235443189191e-08,1.2603616702866844e-08,1.256521875045565e-08,1.3142627058527613e-08,1.2575791706315265e-08,1.2591552105708252e-08,1.252852920450009e-08,1.3062408310376062e-08,1.2719862500717387e-08,1.380344375497559e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/de3c6036e87b833e489916bef855665b0af5f8ef172b3cb7686ca39d7c149260-numpy_numba.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/numpy_numba.py"},{"id":"numpy/numba:unchecked","label":"NumPy/Numba","mode":"unchecked","samples_million_filter_turns_per_second":[81.849819628,81.963742094,82.42566362100001,81.027578177,81.725900985,81.56094070200001,81.55301400399999,80.607863895,79.012449593,81.505543299],"median":81.55697735300001,"mad":0.3498035079999937,"n":10,"time_seconds":1.2261366652093004e-08,"samples_seconds_per_filter_turn":[1.221749790708042e-08,1.2200516648607276e-08,1.2132143753165062e-08,1.2341477093336772e-08,1.2236022949242742e-08,1.2260770797797803e-08,1.2261962506388204e-08,1.2405737501028466e-08,1.2656233355010342e-08,1.2269104155671201e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/de3c6036e87b833e489916bef855665b0af5f8ef172b3cb7686ca39d7c149260-numpy_numba.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/numpy_numba.py"},{"id":"mojo-simd-4:unchecked","label":"Mojo SIMD-4","mode":"unchecked","samples_million_filter_turns_per_second":[126.78931419659952,128.07951176090117,128.08689414899067,128.26844019163303,127.85516566833091,128.3128781220127,128.21745680674422,129.19896640826875,126.79011797820479,128.69681604077115],"median":128.15217547786744,"mad":0.22885622684089668,"n":10,"time_seconds":7.803225000000001e-09,"samples_seconds_per_filter_turn":[7.887099999999999e-09,7.807649999999999e-09,7.807200000000001e-09,7.79615e-09,7.82135e-09,7.79345e-09,7.799250000000001e-09,7.739999999999999e-09,7.887049999999999e-09,7.7702e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/1a43326cae3cd2cf1a692599c6eaffca7d35b8430f2c79f903d5e3cfd71ecabd-mojo_simd.mojo.txt","version":"Mojo 1.1.0 (8189361e); MAX 26.6.0","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/mojo_simd.mojo"},{"id":"mojo-simd-4:checked","label":"Mojo SIMD-4","mode":"checked","samples_million_filter_turns_per_second":[119.64441679329033,119.20869269787153,119.66732483695327,119.91414147470411,119.00440911335767,119.3730527270774,119.799216513124,117.8995024640996,117.58480804280087,117.71699656854956],"median":119.29087271247445,"mad":0.4423979625641792,"n":10,"time_seconds":8.382875e-09,"samples_seconds_per_filter_turn":[8.3581e-09,8.388649999999999e-09,8.3565e-09,8.339299999999999e-09,8.403049999999999e-09,8.3771e-09,8.3473e-09,8.4818e-09,8.5045e-09,8.494949999999998e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/1a43326cae3cd2cf1a692599c6eaffca7d35b8430f2c79f903d5e3cfd71ecabd-mojo_simd.mojo.txt","version":"Mojo 1.1.0 (8189361e); MAX 26.6.0","is_mech":false,"category":"cpu-aot","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/mojo_simd.mojo"},{"id":"julia-simd.jl:checked","label":"Julia SIMD.jl","mode":"checked","samples_million_filter_turns_per_second":[131.95774683915505,132.8321867159352,125.82711668734949,125.94124630537972,126.54096605916311,132.30342438241107,130.84477475480915,126.26973451529466,130.93214686986244,127.25000516475959],"median":129.04738995978437,"mad":2.8440061619301957,"n":10,"time_seconds":7.750594800000001e-09,"samples_seconds_per_filter_turn":[7.57818335e-09,7.528295849999999e-09,7.9474125e-09,7.94021045e-09,7.902579149999999e-09,7.558383350000001e-09,7.64264375e-09,7.919554149999998e-09,7.63754375e-09,7.85854585e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/02eea78d3a802241577fcf68bb16feef7b08f121125c71cbf01f56e6a513acba-julia_simd_threads.jl.txt","version":"julia version 1.12.6","is_mech":false,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/julia_simd_threads.jl"},{"id":"julia-simd.jl:unchecked","label":"Julia SIMD.jl","mode":"unchecked","samples_million_filter_turns_per_second":[137.3035807915723,137.65469695067247,135.9584646890375,137.09107557181872,133.85279371694986,137.22531026436812,134.30822480467688,134.21186181211178,136.84488717566694,135.12201095332802],"median":136.40167593235222,"mad":1.077462938770168,"n":10,"time_seconds":7.331365624999999e-09,"samples_seconds_per_filter_turn":[7.28313125e-09,7.264554149999999e-09,7.3551875e-09,7.294420849999998e-09,7.47089375e-09,7.2872854e-09,7.4455604e-09,7.450906249999999e-09,7.307543749999999e-09,7.400718749999999e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/02eea78d3a802241577fcf68bb16feef7b08f121125c71cbf01f56e6a513acba-julia_simd_threads.jl.txt","version":"julia version 1.12.6","is_mech":false,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/minimal/julia_simd_threads.jl"},{"id":"taichi-llvm-cpu:checked","label":"Taichi LLVM CPU","mode":"checked","samples_million_filter_turns_per_second":[88.2376946834078,87.97592706312007,88.81873872437397,87.67786278358169,89.43880478277183,88.45795120250094,88.44932874624001,88.55227575679763,87.5539985575007,77.47457430612607],"median":88.3435117148239,"mad":0.42140583062695214,"n":10,"time_seconds":1.1319466651184484e-08,"samples_seconds_per_filter_turn":[1.1333025002386422e-08,1.1366745806299151e-08,1.125888539245352e-08,1.1405387497507034e-08,1.1180829198565332e-08,1.1304806254338473e-08,1.1305908299982547e-08,1.1292764544487e-08,1.1421522905584425e-08,1.2907460401766001e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/01afd8a4f8fa564f5c078453df42fd1a72ecb8e29c9a8e88de1ed7743884e635-taichi-metal-matched.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/taichi-metal-matched.py"},{"id":"taichi-llvm-cpu:unchecked","label":"Taichi LLVM CPU","mode":"unchecked","samples_million_filter_turns_per_second":[95.44544313039971,95.5851603609617,95.72383679878901,96.24870668737262,95.25036083223799,95.28044237029702,95.63496115218734,91.38729908413143,92.47786959200346,84.09686279140014],"median":95.36294275034837,"mad":0.31645622513980953,"n":10,"time_seconds":1.0486261430196463e-08,"samples_seconds_per_filter_turn":[1.047718955669552e-08,1.0461875004693866e-08,1.04467187426053e-08,1.038974999682978e-08,1.0498647892381996e-08,1.0495333303697407e-08,1.0456427105236798e-08,1.0942439595237374e-08,1.0813397890888154e-08,1.189104999648407e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/01afd8a4f8fa564f5c078453df42fd1a72ecb8e29c9a8e88de1ed7743884e635-taichi-metal-matched.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/taichi-metal-matched.py"},{"id":"mech-fused-simd/jit:checked","label":"Mech fused SIMD/JIT","mode":"checked","samples_million_filter_turns_per_second":[151.514,154.585,154.47,152.211,141.301,153.304,150.755,141.186,151.132,143.617],"median":151.323,"mad":2.563999999999993,"n":10,"time_seconds":6.60839127662816e-09,"samples_seconds_per_filter_turn":[6.600050160381218e-09,6.468932949509977e-09,6.4737489480157955e-09,6.569827410633922e-09,7.077090749534681e-09,6.522987006209883e-09,6.633279161553514e-09,7.082855240604592e-09,6.616732392875102e-09,6.962963994513185e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"eedc1c75 · Cranelift 0.131.3","is_mech":true,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/eedc1c75b5a780a92d3f50f094be873f93bca6b9/hosts/gpu/fixtures/ekf-kernel.mec"},{"id":"mech-fused-simd/jit:unchecked","label":"Mech fused SIMD/JIT","mode":"unchecked","samples_million_filter_turns_per_second":[199.403,193.178,163.078,180.108,181.294,186.979,189.018,125.852,198.785,176.928],"median":184.1365,"mad":8.125,"n":10,"time_seconds":5.432048264349613e-09,"samples_seconds_per_filter_turn":[5.014969684508257e-09,5.176572901676174e-09,6.132034977127509e-09,5.552224221022941e-09,5.515902346464857e-09,5.348194182234368e-09,5.290501433725888e-09,7.945841146743794e-09,5.0305606559851094e-09,5.652016639536987e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"eedc1c75 · Cranelift 0.131.3","is_mech":true,"category":"cpu-jit","publication":"fused-block","implementation_url":"https://github.com/mech-lang/mech/blob/eedc1c75b5a780a92d3f50f094be873f93bca6b9/hosts/gpu/fixtures/ekf-kernel.mec"},{"id":"mech-per-turn-simd/jit:checked","label":"Mech per-turn SIMD/JIT","mode":"checked","samples_million_filter_turns_per_second":[144.715,137.958,142.785,144.882,142.202,140.74,141.984,122.781,136.632,125.425],"median":141.36200000000002,"mad":3.3785000000000025,"n":10,"time_seconds":7.074173829056236e-09,"samples_seconds_per_filter_turn":[6.910133711087309e-09,7.24858290204265e-09,7.0035367860769685e-09,6.902168661393409e-09,7.032249898032376e-09,7.105300554213443e-09,7.04304710389903e-09,8.14458263086308e-09,7.318929679723637e-09,7.972892166633447e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"eedc1c75 · Cranelift 0.131.3","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/eedc1c75b5a780a92d3f50f094be873f93bca6b9/hosts/gpu/fixtures/ekf-kernel.mec"},{"id":"mech-per-turn-simd/jit:unchecked","label":"Mech per-turn SIMD/JIT","mode":"unchecked","samples_million_filter_turns_per_second":[158.539,167.328,170.726,169.721,169.515,170.356,165.486,116.514,160.3,148.935],"median":166.40699999999998,"mad":4.1340000000000146,"n":10,"time_seconds":6.0095466716512374e-09,"samples_seconds_per_filter_turn":[6.307596238149603e-09,5.9762860967680244e-09,5.857338659606621e-09,5.8920227903441525e-09,5.899182963159602e-09,5.8700603442203385e-09,6.04280724653445e-09,8.58265959455516e-09,6.238303181534622e-09,6.714338469802262e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"eedc1c75 · Cranelift 0.131.3","is_mech":true,"category":"cpu-jit","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/eedc1c75b5a780a92d3f50f094be873f93bca6b9/hosts/gpu/fixtures/ekf-kernel.mec"}]},{"id":"metal","title":"Metal implementations","machine":"Apple M1","precision":"f32","instances":500000,"turns":40,"scope":"Resident GPU state · completed submission and publication every turn; fault-status interfaces differ across implementations.","methods":{"instances":500000,"turns":40,"workers":8,"samples_per_implementation_mode":10,"summary_statistic":"median","uncertainty_statistic":"median absolute deviation","measurement_order":"Each round contains every implementation/mode once in deterministic shuffled order; CPU and Metal are separate campaigns.","warmup_turns":5,"outlier_policy":"No samples removed or replaced.","versions":{"rustc":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","julia":"julia version 1.12.6","futhark":"Futhark 0.27.1.\nCompiled with GHC 9.14.1.\n\nCopyright (C) DIKU, University of Copenhagen, released under the ISC license.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.","ispc":"Intel(r) Implicit SPMD Program Compiler (Intel(r) ISPC), 1.31.0 (build commit  @ 20260625, LLVM 22.1.8)","python":"Python 3.12.14","python_packages":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","halide":"halide 21.0.0_1","mojo":"Mojo 1.1.0 (8189361e); MAX 26.6.0"},"source_revisions":{"cpu_fused_and_per_turn":"eedc1c75b5a780a92d3f50f094be873f93bca6b9","direct_metal":"45a21a62d4f0e68adc40bb537a8f26e1d11df7d5","cpu_harness_patch":"benchmarks/iros-2026/mech-cpu-n10-validation-tolerance.patch","cpu_harness_patch_scope":"Raises only the untimed 40-turn scalar-vs-SIMD validation tolerance from 1e-4 to 2e-4; measured code and timed regions are unchanged."},"excluded_work":"Compilation, device preparation and warmup. These are warm execution measurements, not complete-process timings."},"recorded_at":"2026-09-24T23:07:36.476519-04:00","evidence_url":"/benchmarks/ekf-evidence/apple-m1-metal-equal-n10-2026-09-24.json","original_evidence_url":"https://mech-lang.org/iros-r4r-2026/evidence/apple-m1-metal-equal-n10-2026-09-24.json","rows":[{"id":"taichi-native-metal:checked","label":"Taichi native Metal","mode":"checked","samples_million_filter_turns_per_second":[342.2376965836366,321.8948842265505,344.1250016385122,324.4867850919482,343.50686137786226,342.0104224866613,345.2877176031121,340.1261743089119,346.97248076480395,344.51747409543765],"median":342.87227898074946,"mad":2.030316868525432,"n":10,"time_seconds":2.9165479005314408e-09,"samples_seconds_per_filter_turn":[2.9219457996077833e-09,3.106604202184826e-09,2.9059207998216153e-09,3.081789601128548e-09,2.911150001455098e-09,2.9238875024020675e-09,2.896135451737791e-09,2.9400854022242127e-09,2.8820729465223845e-09,2.9026103904470796e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/01afd8a4f8fa564f5c078453df42fd1a72ecb8e29c9a8e88de1ed7743884e635-taichi-metal-matched.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/taichi-metal-matched.py"},{"id":"taichi-native-metal:unchecked","label":"Taichi native Metal","mode":"unchecked","samples_million_filter_turns_per_second":[410.7127609426498,417.7902001460351,413.4014425818153,404.4087343215743,418.0634773631382,410.82981228220325,409.03036751234566,384.2191586308377,407.9693381018964,415.5563535738861],"median":410.77128661242654,"mad":3.7935077359948366,"n":10,"time_seconds":2.434444794198498e-09,"samples_seconds_per_filter_turn":[2.4347916478291155e-09,2.3935458506457507e-09,2.4189562420360748e-09,2.472745801787823e-09,2.391981252003461e-09,2.4340979405678806e-09,2.4448062526062133e-09,2.602681249845773e-09,2.451164601370692e-09,2.4064124911092222e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/01afd8a4f8fa564f5c078453df42fd1a72ecb8e29c9a8e88de1ed7743884e635-taichi-metal-matched.py.txt","version":"numpy 2.2.6; numba 0.61.2; taichi 1.7.4","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/taichi-metal-matched.py"},{"id":"rust-+-hand-written-msl:unchecked","label":"Rust + hand-written MSL","mode":"unchecked","samples_million_filter_turns_per_second":[423.881482737,399.146497062,425.492679037,408.785486873,431.83564957,424.828390041,425.447431896,391.941679078,421.8982845,415.658556115],"median":422.8898836185,"mad":4.917061461000003,"n":10,"time_seconds":2.3646947750023106e-09,"samples_seconds_per_filter_turn":[2.359150000002374e-09,2.50534580000252e-09,2.350216699998831e-09,2.4462707999970564e-09,2.3156958000011097e-09,2.3538916499989335e-09,2.3504666500007186e-09,2.551400000000997e-09,2.370239550002247e-09,2.4058208000013612e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/04df6a6bc2bd225aa62dd868a6214f8bf55d0b6d6d5673720c95f3a60155e923-ekf.metal.txt","version":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/rust-metal/src/ekf.metal"},{"id":"rust-+-hand-written-msl:checked","label":"Rust + hand-written MSL","mode":"checked","samples_million_filter_turns_per_second":[427.369074522,422.818454969,431.858961082,426.954335974,428.983948729,427.18763965,423.406253346,394.49644324,415.699584884,416.976497578],"median":425.18029466,"mad":3.082746880000002,"n":10,"time_seconds":2.3519843750013406e-09,"samples_seconds_per_filter_turn":[2.339897900002407e-09,2.365081249997277e-09,2.3155708000004268e-09,2.3421708500013837e-09,2.331089550000215e-09,2.3408917000016948e-09,2.361797900001297e-09,2.5348770999986667e-09,2.4055833500027373e-09,2.398216700002232e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/04df6a6bc2bd225aa62dd868a6214f8bf55d0b6d6d5673720c95f3a60155e923-ekf.metal.txt","version":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/rust-metal/src/ekf.metal"},{"id":"halide-metal-schedule:unchecked","label":"Halide Metal schedule","mode":"unchecked","samples_million_filter_turns_per_second":[400.1313791370259,406.56466135491286,411.4097669460351,386.4612946936449,407.267003616307,405.5170595958009,372.8250922024415,380.1239496771389,368.5537620521457,397.39836800014814],"median":398.764873568587,"mad":10.40285446133106,"n":10,"time_seconds":2.5077728999999996e-09,"samples_seconds_per_filter_turn":[2.4991791499999998e-09,2.4596333500000004e-09,2.43066665e-09,2.58758125e-09,2.45539165e-09,2.4659874999999997e-09,2.6822228999999995e-09,2.6307208499999996e-09,2.7133083499999995e-09,2.51636665e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/5941d8acbe6e9d04956799d818524d687166102035813c2967b0ab8bb5a99e89-halide-metal-matched.cpp.txt","version":"halide 21.0.0_1","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/halide-metal-matched.cpp"},{"id":"halide-metal-schedule:checked","label":"Halide Metal schedule","mode":"checked","samples_million_filter_turns_per_second":[292.90742679815025,299.9656944233573,276.8974093852189,283.72785431391816,294.8906508605277,297.78226509181735,278.79793815542433,278.88249330765683,293.67461730489725,294.8419262506583],"median":293.2910220515238,"mad":5.582957706063553,"n":10,"time_seconds":3.40958855e-09,"samples_seconds_per_filter_turn":[3.41404795e-09,3.3337145499999994e-09,3.6114458500000003e-09,3.52450415e-09,3.3910875000000006e-09,3.3581583500000002e-09,3.5868270999999996e-09,3.5857395999999995e-09,3.4051291499999995e-09,3.3916478999999997e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/5941d8acbe6e9d04956799d818524d687166102035813c2967b0ab8bb5a99e89-halide-metal-matched.cpp.txt","version":"halide 21.0.0_1","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/halide-metal-matched.cpp"},{"id":"julia-metal.jl:checked","label":"Julia Metal.jl","mode":"checked","samples_million_filter_turns_per_second":[413.83697873016564,383.6439759350109,376.9453939751272,408.8422354471329,418.212458327481,416.48914684468133,410.46024270801473,413.01905446887037,410.37882520771626,400.95326639084425],"median":410.4195339578655,"mad":4.743528829557988,"n":10,"time_seconds":2.436531225e-09,"samples_seconds_per_filter_turn":[2.41641045e-09,2.6065833499999997e-09,2.65290415e-09,2.4459312499999996e-09,2.39112915e-09,2.40102295e-09,2.43628955e-09,2.4211957999999994e-09,2.4367729e-09,2.4940562499999996e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/c81d575432fa346d7ed4837f3b67d832e840d734a2a3a8c10a69cece23f5566e-julia-metal-matched.jl.txt","version":"julia version 1.12.6","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/julia-metal-matched.jl"},{"id":"julia-metal.jl:unchecked","label":"Julia Metal.jl","mode":"unchecked","samples_million_filter_turns_per_second":[423.8485417925364,393.68173878515876,425.7198656853824,418.69618301695846,419.3549766909924,406.8106861926032,389.89806855803874,391.63180735631397,380.68318355829336,415.98599225409123],"median":411.3983392233472,"mad":13.385864515612212,"n":10,"time_seconds":2.431036475e-09,"samples_seconds_per_filter_turn":[2.3593333499999998e-09,2.5401229000000002e-09,2.3489624999999997e-09,2.38836665e-09,2.3846145999999995e-09,2.45814585e-09,2.5647729e-09,2.5534187499999997e-09,2.6268562499999994e-09,2.4039271e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/c81d575432fa346d7ed4837f3b67d832e840d734a2a3a8c10a69cece23f5566e-julia-metal-matched.jl.txt","version":"julia version 1.12.6","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/julia-metal-matched.jl"},{"id":"mojo-native-metal:unchecked","label":"Mojo native Metal","mode":"unchecked","samples_million_filter_turns_per_second":[410.5174572548698,410.72822113607424,370.9130023552976,387.1916986099818,412.8819157720892,411.7090040759191,403.1201499606958,381.5264874763931,364.99014526607783,407.5893130082129],"median":405.35473148445436,"mad":6.940728439549787,"n":10,"time_seconds":2.46705e-09,"samples_seconds_per_filter_turn":[2.4359499999999996e-09,2.4347e-09,2.6960499999999996e-09,2.5826999999999998e-09,2.4219999999999997e-09,2.4289e-09,2.4806499999999997e-09,2.6210499999999998e-09,2.7397999999999996e-09,2.45345e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/b0c9626f0ce10c145cdd20b885e3425030341ebc982ab3258d1a8d2c0f3054c2-mojo-metal-matched.mojo.txt","version":"Mojo 1.1.0 (8189361e); MAX 26.6.0","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/mojo-metal-matched.mojo"},{"id":"mojo-native-metal:checked","label":"Mojo native Metal","mode":"checked","samples_million_filter_turns_per_second":[405.03868119405405,380.37999961962,413.97582381188937,401.72742794014255,412.05678142448033,420.35351730805604,405.53144896386715,377.90752602838086,406.54538062811264,407.67239446380887],"median":406.03841479598987,"mad":5.1646767421688935,"n":10,"time_seconds":2.462825e-09,"samples_seconds_per_filter_turn":[2.4688999999999996e-09,2.62895e-09,2.4156e-09,2.4892500000000003e-09,2.4268499999999997e-09,2.37895e-09,2.4659e-09,2.64615e-09,2.45975e-09,2.45295e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/b0c9626f0ce10c145cdd20b885e3425030341ebc982ab3258d1a8d2c0f3054c2-mojo-metal-matched.mojo.txt","version":"Mojo 1.1.0 (8189361e); MAX 26.6.0","is_mech":false,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/mojo-metal-matched.mojo"},{"id":"mech-generated-msl:checked","label":"Mech generated MSL","mode":"checked","samples_million_filter_turns_per_second":[408.023,385.481,421.406,423.398,412.791,411.06,406.883,412.606,365.479,408.469],"median":409.7645,"mad":2.9540000000000077,"n":10,"time_seconds":2.440450540829889e-09,"samples_seconds_per_filter_turn":[2.4508422319330036e-09,2.5941615799481685e-09,2.373008452656108e-09,2.3618439387998994e-09,2.4225334370177644e-09,2.432734880552717e-09,2.457708972849689e-09,2.423619627441191e-09,2.736135318308302e-09,2.4481662011070608e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"45a21a62 · Metal","is_mech":true,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/45a21a62d4f0e68adc40bb537a8f26e1d11df7d5/hosts/gpu/fixtures/ekf-kernel.mec"},{"id":"mech-generated-msl:unchecked","label":"Mech generated MSL","mode":"unchecked","samples_million_filter_turns_per_second":[411.008,389.33,414.778,415.941,407.989,421.263,422.929,409.87,366.729,408.083],"median":410.43899999999996,"mad":4.9205000000000325,"n":10,"time_seconds":2.4364203252815262e-09,"samples_seconds_per_filter_turn":[2.433042665836188e-09,2.5685151413967586e-09,2.41092825559697e-09,2.4041871323096305e-09,2.451046474292199e-09,2.3738139831886494e-09,2.364463065904679e-09,2.4397979847268644e-09,2.726809169713876e-09,2.45048188726313e-09],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"45a21a62 · Metal","is_mech":true,"category":"metal","publication":"per-turn","implementation_url":"https://github.com/mech-lang/mech/blob/45a21a62d4f0e68adc40bb537a8f26e1d11df7d5/hosts/gpu/fixtures/ekf-kernel.mec"}]},{"id":"aot-library","title":"AOT direct library calls","machine":"Apple M1","precision":"f32","instances":10000,"turns":200,"scope":"Repeated checked turns; dlopen, allocation, input construction, SIMD packing, warmup, reset, and reporting are excluded.","methods":{"instances":10000,"turns":200,"untimed_warmup_turns":100,"measured_processes_per_library":7,"measurement_order":"Alternated by sample to reduce ordering bias.","abi":"All rows use the same four-argument pointer-table ABI shape. Scalar Mech and Rust export mech_fixed_numeric_turn over AoS state; SIMD AOT exports mech_fixed_numeric_simd_turn over pre-packed four-lane state.","execution_strategy":"One host thread with checked ping-pong publication after every turn. SIMD AOT evaluates four filters per generated vector body; Rust relies on LLVM local SLP within one hand-specialized scalar filter loop.","timed_region":"Repeated checked turns; dlopen, allocation, input construction, SIMD packing, warmup, reset, and reporting are excluded.","memory_metric":"Maximum resident set size reported by /usr/bin/time -l for a fresh minimal-loader process; this is whole-process peak RSS, not private library pages.","sample_precision":"The common loader printed throughput to six decimal places.","toolchain":{"rustc":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","cranelift":"0.131.3","linker":"Apple clang 17.0.0 (clang-1700.3.19.1)","rust_library_build":"rustc --edition=2024 --crate-type cdylib -C opt-level=3 -C target-cpu=native -C codegen-units=1","runner_build":"rustc --edition=2024 -C opt-level=3 -C target-cpu=native -C codegen-units=1","measurement_command":"python3 benchmarks/iros-2026/measure_dylib_comparison.py target/mech-aot-final-v2/mech-0a9d1856e310433b75da7d519ccc856597d751f7af345a38c70d43d289ec24fd.dylib --mech-simd-dylib target/mech-aot-final-v2/mech-simd-633e21301b05367c3cadd6c59b1fdbdcf102cd909a23acd1655f897aeb3045db.dylib --samples 7 --instances 10000 --turns 200"},"validation":{"scalar_aot_maximum_final_state_absolute_error_vs_rust":0.0004043579102,"simd_aot_maximum_final_state_absolute_error_vs_rust":0.0004081726074,"faults":0,"note":"All libraries implement the same checked EKF equations. The complete final states agree within 4.09e-4 after 200 turns; ordinary compiler reassociation accounts for the small f32 differences."},"reference_scope":"The retained Rust library is scalar; Mech SIMD AOT uses four lanes. This is the same-loader library experiment, not the eight-worker SIMD language campaign."},"recorded_at":"2026-09-24","evidence_url":"/benchmarks/ekf-evidence/apple-m1-aot-vs-rust-dylib-2026-09-24.json","original_evidence_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/iros-2026/results/apple-m1-aot-vs-rust-dylib-2026-09-24.json","rows":[{"id":"mech-cranelift-aot:checked","label":"Mech Cranelift AOT","mode":"checked","samples_million_filter_turns_per_second":[14.678931,14.660347,14.67902,14.676013,14.67142,14.67055,14.45794],"median":14.67142,"mad":0.007511000000000934,"n":7,"time_seconds":6.815972823353159e-08,"samples_seconds_per_filter_turn":[6.812485187102521e-08,6.821120946182242e-08,6.812443882493518e-08,6.813839698833736e-08,6.815972823353159e-08,6.816377027446141e-08,6.916614676779679e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/09afcf7b354345f33e6b1e5d9b10a275cbfd1eb5763b3d0e691329861ab64224-ekf.mec.txt","version":"Cranelift 0.131.3 · dab98af1","is_mech":true,"category":"cpu-aot","publication":"per-turn","summary_path":null,"implementation_url":"https://github.com/mech-lang/mech/blob/dab98af1deb65d53cb9f88ee057f34ceb2e74609/benchmarks/archive/compute/parallel-ekf/source-size-audit/selected/ekf.mec"},{"id":"rust-scalar:checked","label":"Rust scalar","mode":"checked","samples_million_filter_turns_per_second":[21.09738,21.110324,21.11585,21.122419,21.128974,21.120718,21.123302],"median":21.120718,"mad":0.004868000000001871,"n":7,"time_seconds":4.734687523407111e-08,"samples_seconds_per_filter_turn":[4.7399250523050726e-08,4.737018721266429e-08,4.73577904749276e-08,4.734306236421122e-08,4.732837477106082e-08,4.734687523407111e-08,4.7341083321158786e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/5e32fcc5e2b17bf923718860756b233d4da145b20cff48a20d0c18ec51ccc9a7-rust-ekf-dylib.rs.txt","version":"rustc 1.96.0-nightly (ec818fda3 2026-03-02)","is_mech":false,"category":"cpu-aot","publication":"per-turn","summary_path":null,"implementation_url":"https://github.com/mech-lang/mech/blob/dab98af1deb65d53cb9f88ee057f34ceb2e74609/benchmarks/iros-2026/rust-dylib/rust-ekf-dylib.rs"},{"id":"mech-cranelift-simd-aot:checked","label":"Mech Cranelift SIMD AOT","mode":"checked","samples_million_filter_turns_per_second":[34.852845,34.858692,34.87447,34.871404,34.847126,34.863147,34.926643],"median":34.863147,"mad":0.010301999999995815,"n":7,"time_seconds":2.8683583842847003e-08,"samples_seconds_per_filter_turn":[2.8692062297927183e-08,2.8687249653544087e-08,2.8674270892145455e-08,2.867679202133645e-08,2.8696771148358114e-08,2.8683583842847003e-08,2.8631437610537034e-08],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/09afcf7b354345f33e6b1e5d9b10a275cbfd1eb5763b3d0e691329861ab64224-ekf.mec.txt","version":"Cranelift 0.131.3 · dab98af1","is_mech":true,"category":"cpu-aot","publication":"per-turn","summary_path":"aot","implementation_url":"https://github.com/mech-lang/mech/blob/dab98af1deb65d53cb9f88ee057f34ceb2e74609/benchmarks/archive/compute/parallel-ekf/source-size-audit/selected/ekf.mec"}]},{"id":"gpu-batched","title":"Batched GPU submission","machine":"Apple M1","precision":"f32","instances":100000,"turns":120,"scope":"One unchecked GPU submission containing 120 dependent turns. Publication and synchronization occur after the batch.","methods":{"binary":"../../../../target/release/examples/parallel_ekf_benchmark","instances":100000,"cpu_turns":5,"gpu_turns":120,"workers":8,"samples":5,"command":["../../../../target/release/examples/parallel_ekf_benchmark","100000","5","40","120"],"source_identity":"The measured compiler revision and source hash are not recorded. The code link is the kernel snapshot at the archive revision.","reference_scope":"No external one-submit batched peer was measured in this campaign. Per-turn GPU timings are not a reference for this boundary."},"recorded_at":"2026-09-01T17:09:31.502276-04:00","evidence_url":"/benchmarks/ekf-evidence/apple-m1-mech-progression-2026-09-01.json","original_evidence_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/benchmarks/archive/compute/parallel-ekf/results/apple-m1-mech-progression-2026-09-01.json","rows":[{"id":"mech-batched-gpu:unchecked","label":"Mech batched GPU","mode":"unchecked","samples_million_filter_turns_per_second":[2883.174,2640.961,990.207,2559.771,2538.007],"median":2559.771,"mad":81.1899999999996,"n":5,"time_seconds":3.906599457529599e-10,"samples_seconds_per_filter_turn":[3.468399756657073e-10,3.7865004443458273e-10,1.0098898513139171e-09,3.906599457529599e-10,3.9400994559904676e-10],"time_derived_from_reported_throughput":true,"source_url":"/benchmarks/ekf-sources/192270bab5b1d226a5a79e9c066a4d1c55f3eff6d70fcf58cb29a618daac521e-ekf-kernel.mec.txt","version":"Measured compiler revision not recorded","is_mech":true,"category":"metal","publication":"fused-block","summary_path":"gpu-batched","source_identity_basis":"Kernel snapshot at the archive revision; the measured source hash is not recorded.","implementation_url":"https://github.com/mech-lang/mech/blob/cfb51ba74b4eda5e13a77cb357f24767d288d650/hosts/gpu/fixtures/ekf-kernel.mec"}]},{"id":"resident","title":"Managed resident runtime","machine":"Apple M3","precision":"f64","instances":1,"turns":4096,"scope":"Captured-input submission, managed f64 execution and publication. No equivalent external rollback/admission/scheduling/accounting/publication control is qualified.","methods":{"revision":"9087b1f07727a9bfcb7c09059f48edaca6dc2301","measurement":{"boundary":"resident_turn","input_submission":"CapturedSignalInput passed to ReactiveInstance.turn; included","output_observation":"named result borrowed after timed block; owned snapshot timed separately","setup":"catalog, compilation, encoding, decoding, activation, and warmup excluded from turn","reset":"fresh instance after warmup; state evolves within each block","destruction":"instance and returned owned snapshots excluded; teardown separately timed","cache":"warm process; fresh activation per fork; OS caches uncontrolled","threads":1,"scenario":"changing_values","retain_snapshots":false,"abort_before_accept":false,"cycles":1,"warmup":32,"compiler_profile":"frozen-ekf-v1","observe_state":true,"schedule_file":"suite/fixtures/ekf-input-v1.bin","schedule_encoding":"f64le-rows-4","output":"estimate","memory_budget_bytes":17179869184,"summary":"included in Mech turn","comparison_note":"Same inputs, accepted turns, warmup and output/retention obligations, paired on the same machine. Rust is an independent AOT task implementation with typed input validation, change detection and owned publication. Rust uses native ownership; Mech additionally performs its runtime admission, dependency scheduling, budget accounting and turn summary. This measures the cost of completing the task through each path, not a language-wide speed claim. Compilation is outside the resident timer. Rust preparation is not presented as a Mech artifact or JIT metric.","timing_loop":"typed schedule parsed before timer; accepted turns and retained snapshot publication inside timer"},"input_schedule":"Complete input schedule is preserved in the linked canonical evidence.","reference_scope":"The saved bare Rust task does not supply equivalent managed runtime semantics."},"recorded_at":"2026-11-17T16:51:21.541828+00:00","evidence_url":"https://github.com/mech-lang/benchmarks/blob/1dd3e9d4622c2f8b4156517f809b59f57d6ab1c3/results/campaigns/2026-11-17-rust-resident-001/campaign.json","original_evidence_url":"https://github.com/mech-lang/benchmarks/blob/1dd3e9d4622c2f8b4156517f809b59f57d6ab1c3/results/campaigns/2026-11-17-rust-resident-001/campaign.json","rows":[{"id":"mech-resident:checked","label":"Mech resident","mode":"checked","samples_million_filter_turns_per_second":[0.7650294861340273,0.7623301693653451,0.7600668027463351,0.7636744524420616,0.7529411764705881],"median":0.7623301693653451,"mad":0.0022633666190100543,"n":5,"time_seconds":1.311767578125e-06,"samples_seconds_per_filter_turn":[1.30713916015625e-06,1.311767578125e-06,1.315673828125e-06,1.30945849609375e-06,1.328125e-06],"time_derived_from_reported_throughput":false,"source_url":"/benchmarks/ekf-sources/79bd8713cacb704cdc58addf2da0a881986cf9a551189f4468ee59f567f84bf9.mec.txt","version":"9087b1f07727a9bfcb7c09059f48edaca6dc2301","is_mech":true,"category":"resident","publication":"per-turn","summary_path":"resident"}]}],"method":"Retained, separate experiments. Medians and unscaled MAD are recomputed from every sample. All measured samples are retained; archived warmups remain separate. Samples are not pooled across studies or remeasured."}
