DOOMMark

Make the best DOOM engine you can.

One WAD. One demo. Every language measured on frame rate, RAM, binary size, and lines of code.

Loading host telemetry...
CPUMark Leaderboard Submit Engine
Fastest Engine
--
kazad/doom.ic
Loading measurements...
Smallest Binary
--
kazad/doom.ic
Loading measurements...
Smallest Codebase
--
kazad/doom.ic
Loading measurements...

Leaderboard

Unified 3-engine comparison on DOOM1.WAD DEMO1 (5,026 tics, 320×200 software). Highlighted cells indicate the best measured result on each metric.

Category Benchmark Loading... Loading... Loading...

Comparison

4-Axis Bars · Pareto Frontier · 4-Axis Profile

Direct head-to-head comparison across all four measured dimensions on the identical DOOM1.WAD DEMO1 workload.

Pareto Trade-Off (Frame Rate vs Cost)
kazad/doom.ic (Instacalc) linuxdoom-1.10 (C89) dsda-doom (C99)
4-Axis Profile (Normalized) OUTER EDGE = BETTER
kazad/doom.ic linuxdoom-1.10 dsda-doom

CPUMark

Cross-Machine Hardware Leaderboard

Click once to run kazad/doom.ic (2.4 KB WebAssembly) locally in your browser, verify the deterministic checksum, and post your CPU score to the live table. Have a faster DOOM engine? Suggest a GitHub repo to benchmark →

kazad/doom.ic — Browser WebAssembly Benchmark
Runs kazad/doom.ic compiled to WebAssembly (/doom_ic_kernel.wasm) locally in your browser, then lets you post your verified score below.
Rank Handle Machine / Hardware Build / Runtime Throughput DOOM-ST Source

Stress Tests

Standalone Workloads & Scaling Matrix

Verified standalone stress workloads measured independently from the 3-engine DEMO1 leaderboard above.

Workload kazad Instacalc reference Next Best Advantage Verification

Replay

DEMO1 Frame 0 & Verbatim Instacalc Source

Actual Frame 0 rendered directly from the live kazad/doom.ic DEMO1 engine alongside a verbatim excerpt from render.ic.

kazad/doom.ic — DEMO1 Frame 0 (E1M5) 320×200 · SOFTWARE
DOOM1.WAD DEMO1 E1M5 Frame 0 rendered by kazad/doom.ic
Rendered directly from DOOM1.WAD DEMO1 (E1M5, skill 2) with textured walls, flats, sky, weapon sprite, monsters, and live status bar. Verified hashes: fb_hash=0x1d3148d5 · audio_chk=0x6f93af49.
render.ic (Verbatim Excerpt — BSP Visibility Culling) INSTACALC · 6 FILES
104 | @hot fast_check_bbox(
105 |   vx, vy, cos_a, sin_a, btop, bbot, bleft, bright: i32,
106 |   solid_mask: const u64[], solid_count: i32
107 | ) -> i32 = {
108 |   let vis: i32 = 1
109 |   if (!(vx >= bleft && vx <= bright && vy >= bbot && vy <= btop)) {
110 |     let (dxl, dxr, dyb, dyt): i32 = (bleft - vx, bright - vx, bbot - vy, btop - vy)
111 |     let (zxl, zxr): i32 = (fast_fixed_mul(dxl, cos_a), fast_fixed_mul(dxr, cos_a))
112 |     let (zyb, zyt): i32 = (fast_fixed_mul(dyb, sin_a), fast_fixed_mul(dyt, sin_a))
113 |     let (tz00, tz10, tz01, tz11): i32 = (zxl + zyb, zxr + zyb, zxl + zyt, zxr + zyt)
114 |     let z_near: i32 = 1048576
115 |     if (tz00 < z_near && tz10 < z_near && tz01 < z_near && tz11 < z_near) {
116 |       vis = 0
117 |     } else {
118 |       let (xxl, xxr): i32 = (fast_fixed_mul(dxl, sin_a), fast_fixed_mul(dxr, sin_a))
119 |       let (xyb, xyt): i32 = (fast_fixed_mul(dyb, cos_a), fast_fixed_mul(dyt, cos_a))
120 |       let (tx00, tx10, tx01, tx11): i32 = (xxl - xyb, xxr - xyb, xxl - xyt, xxr - xyt)
121 |       let m: i32 = 131072
122 |       if ((tx00 + tz00 < -m && tx10 + tz10 < -m && tx01 + tz01 < -m && tx11 + tz11 < -m) ||
123 |           (tx00 - tz00 > m && tx10 - tz10 > m && tx01 - tz01 > m && tx11 - tz11 > m)) {
124 |         vis = 0
125 |       } else if (solid_count > 0 && tz00 >= z_near && tz10 >= z_near && tz01 >= z_near && tz11 >= z_near) {
126 |         let rx: i32 = (vx < bleft) ? 0 : ((vx > bright) ? 2 : 1)
127 |         let ry: i32 = (vy > btop) ? 0 : ((vy < bbot) ? 2 : 1)
128 |         @lut_tuple(rx * 3 + ry, [bbox_txa->txa:i32, bbox_tza->tza:i32, bbox_txb->txb:i32, bbox_tzb->tzb:i32])
129 |         let sx0: i32 = 160 + i32((i64(txa) * 160) / i64(tza))
130 |         let sx1: i32 = 160 + i32((i64(txb) * 160) / i64(tzb))
131 |         let (mn, mx): i32 = (max(min(sx0, sx1) - 2, 0), min(max(sx0, sx1) + 2, 319))
132 |         if (mn > mx || bm_is_full(solid_mask, mn, mx) != 0) { vis = 0 }
133 |       }
134 |     }
135 |   }
136 |   vis
137 | }

Submit

Suggest a GitHub Repo & PWAD Generator

Have a fast or tiny DOOM engine on GitHub? Suggest the repository below — we build from source on the same idle M1 Max & Zen 4 test rigs and publish verified results.

Suggest a GitHub Repo to Benchmark GITHUB REPO

        
Procedural Stress Map Generator (PWAD) DETERMINISTIC SEED

Generate a valid DOOM PWAD with configurable sectors and monster counts to test engine scaling locally.


        

Methodology

Every leaderboard result is measured live on the same host against the same DOOM1.WAD input, using interleaved trials and hardware counters so every claim can be audited and reproduced.

Measurement Protocol & Verification Gates 5-ROUND INTERLEAVED A / B / C

1. Identical Workload: Every engine executes Shareware DOOM1.WAD DEMO1 (5,026 gametics on E1M5, skill 2) in headless 320×200 software mode with sound hardware disabled so monitor vsync never caps frame rate.

2. Interleaved Execution: Engines run in alternating A, B, C, A, B, C rounds (5 rounds each) rather than back-to-back blocks, eliminating thermal drift and transient OS load bias.

3. CPU Time, Wall Time & Hardware Counters: Each invocation is wrapped in /usr/bin/time -l to capture single-core CPU time (user + sys), real wall time, Peak RSS (ru_maxrss), instructions retired, and CPU cycles elapsed.

4. Source-Only Code Size (SLOC): Line counts measure strictly engine source files (non-blank, non-comment lines). Build scripts, Makefiles, CMake files, and external test harnesses are excluded.

5. Stripped Binary & Anti-Cheat Gate: Native binaries are stripped with strip -x before measuring disk size. Community submissions compile from source in an isolated temp workspace, reject prebuilt Mach-O/ELF/WASM binaries via magic-byte checks, and require deterministic frame/audio checksums.

6. Transparent Scope Disclosure: kazad/doom.ic executes all 9 Episode 1 maps and all 5,026 tics of DEMO1 (AI, physics, sprites, HUD, 8-ch audio); exact vanilla v1.9 demo-sync camera parity is in progress and disclosed on every view.

About

Kalid Azad · BetterExplained & Instacalc
Kalid Azad

Hi, I’m Kalid — creator of BetterExplained.com and Instacalc.com.

I’m working on a new type of programming, and I want to see if it actually works — tested honestly against real software in any language you like. If you’re interested in learning more or following along, sign up here: