Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8.3 KiB
Codex + runtime + model: vanilla Strata against Leleka, results (RTX 5090, 2026-11-05)
Design: codex-compare-5090.md. Tables: docs/e2e-data/codex-compare/ (compare.md, compare.csv, index.md, rounds.csv). 18 cells = 3 arms x 2 tasks x 3 repetitions, all finished, every one accepted.
This page states what the data shows and what it cannot resolve. It claims nothing as a performance improvement (AGENTS.md): the one clear signal below is against Leleka on speed.
1. What was run
- Arms: LEL = Leleka release package
leleka-0.1.0-17e372944279-5090-linux-x86_64.tar.xz(sha256c4bbee3f...d356d69), KAR, shipped configuration. VANL = vanilla Strata 0.2.6 with both lossy defaults off, the reference (owner). VAN = vanilla Strata 0.2.6 with its shipped defaults (route tail skip and CPU prefill share ON; the stack log ofVAN/stack-r1shows both). Same machine, model files and Codex CLI 0.163.0 (sha256399ff69c...c4215), Node 22.23.4. Temperature 0 injected for every arm; no AGENTS.md pad; limits 3000 s and 150 requests per cell (none reached). - Tasks:
ttt(three.js tic-tac-toe, the earlier prompt) andnestng-crm(new: NestJS REST + Angular 20 CRM, no network, Node on PATH, no browser). Repetition order per arm: r1 LEL, VAN, VANL; r2 VANL, VAN, LEL; r3 LEL, VANL, VAN. - Tools: commit
42dcceff2of branchclaude/codex-compare; task manifest sha256246ccf203ddd69f3....
Deviations (all recorded in decode/notes.md)
- First pass: the NestJS dependency setup failed twice (
npmneedsnodeon PATH; thencp -alof a read-only tree), sonestng-crmwas dropped everywhere; fixed, and a second pass ran only the missing cells. - The restarted lab holder passed the window's
CMP_*variables on, so the first-passVANr2 and r3 blocks ran asVANL(their cells were skipped as finished; theVANLdata is genuine).VANr2 and r3 were rerun in the second pass. Fixed incmp_window.sh; stubs now set every variable. - Blocks of the second pass have no warm-up cell (the warm-up cells of the first pass exist and are skipped); the first cell of those blocks therefore ran on a cold stack. The
nestng-crmcells of a block follow thetttcell, which is itself a warm-up. - Post-hoc acceptance fix. The static check "a board with one column per stage" required the five stages and the loop in one file and failed identically in all nine
nestng-crmcells (55 of 56); every model keeps the stage list inmodels.ts. The check now looks across files; the nine cells were re-accepted offline (old logs kept asacceptance.log.prev). The failure was the same in all arms, so it cannot favour one; the real board is present (read in the sources). - The Codex sandbox (default, no network) refuses
listeneven on 127.0.0.1 (EPERM). The agents could not start the server and tested with in-process shims or supertest-free scripts. Same for all arms, but it changes what "verify your work" can mean.
2. Results
Quality
- Objective acceptance: 18 of 18 accepted, 0 failed requests, no round cap, no wall limit.
nestng-crm56/56 in all nine cells,ttt14/14 in all nine. The acceptance saturates: it cannot rank the arms. - Browser checks of the nine
tttpages (six real-mouse checks, Chromium on the laptop, software GL): LEL r1 6/6, LEL r2 2/6, LEL r3 6/6; VAN r1 6/6, VAN r2 6/6, VAN r3 5/6; VANL r1 6/6, r2 6/6, r3 6/6.- LEL r2 is a real defect: the
#hud(with the Restart button) and the full-screen canvas are bothposition: fixedwith noz-index, and the canvas comes later in the DOM, so the canvas covers the button; a mouse cannot press Restart (Playwright: "canvas intercepts pointer events"). The game otherwise runs. The static acceptance cannot see this. - VAN r1 and r3 first failed the draw step because the probe that locates the nine cells splits the perspective board into thirds of the clickable range; a screenshot showed marks in the wrong rows. With a probe that clusters by gaps VAN r1 is 6/6 and VAN r2, LEL r1 stay 6/6. VAN r3 still fails the draw step ("X wins") with the new probe; its win and draw logic is present in the source and the probe geometry is the likely cause, but this is not established. Count it as 5/6 inconclusive.
- LEL r2 is a real defect: the
- Code metrics of the nine
nestng-crmprojects (read blind, labels shuffled; not a code review): backend 789-1,310 lines, 39-78 test cases, README about 2.3-3.2 kB, class-validator used in 8 of 9. No pattern by arm; the spread inside an arm is as large as between arms. I did not read the nine codebases in full, so "equal quality" is not claimed, only "no difference visible in these measures".
Iterations (model requests per cell, mean ± sd over 3 repetitions)
| task | LEL | VAN | VANL (reference) |
|---|---|---|---|
| ttt rounds | 17.7 ± 3.8 | 12.7 ± 3.2 | 19.0 ± 4.6 |
| ttt tool calls | 19.7 ± 5.0 | 13.7 ± 2.3 | 18.3 ± 4.2 |
| nestng-crm rounds | 54.0 ± 7.5 | 71.3 ± 18.5 | 62.0 ± 19.0 |
| nestng-crm tool calls | 58.7 ± 7.5 | 58.0 ± 25.5 | 54.3 ± 11.7 |
The repetition-to-repetition spread inside one arm (up to 19 rounds, CV 25-30 %) is larger than the differences between arms, so no arm is shown to need fewer or more iterations. Paired by repetition, LEL minus VANL on nestng-crm: rounds -8 (pairs -20, +21, -25). VAN needing fewer rounds on ttt (9, 15, 14 against 15-24) is consistent over the three pairs but three pairs of a greedy, non-reproducible session are thin evidence.
Speed
The metric: output tokens (including reasoning) divided by the time of each model request, summed over the cell. The proxy's first-byte time is the response header, so the time includes preparing the request (prefill of the new tokens); it is request throughput, not pure decode.
| task | LEL tok/s | VAN tok/s | VANL tok/s | LEL minus VANL, per pair |
|---|---|---|---|---|
| ttt | 164.3 ± 2.7 | 225.7 ± 0.6 | 202.0 ± 1.7 | -39.8, -40.5, -32.7 |
| nestng-crm | 163.1 ± 1.3 | 221.4 ± 5.7 | 202.1 ± 3.8 | -36.8, -44.1, -36.0 |
- Leleka is about 19 % slower than the reference and about 26 % slower than vanilla's shipped defaults on this workload (contexts 30-120k, prefix-cache hit 98-99 % in both stacks, 1-2k uncached input tokens per request). The six pairs are consistent with a tiny spread; this is not noise. Vanilla's lossy defaults buy about 10 % (VAN against VANL, +19 to +24 tok/s).
- Model time per
nestng-crmcell: LEL 396, 468, 480 s; VAN 382, 393, 309 s; VANL 388, 318, 420 s, for similar token totals (LEL 65-78k output tokens, VAN 70-85k, VANL 65-83k). Wall time per cell does not separate the arms (LEL 488 ± 59 s, VAN 434 ± 99 s, VANL 462 ± 106 s) because the number of rounds varies more than the speed. - This contradicts the earlier agent-workload numbers of
docs/e2e-run.md(Leleka ahead of an older vanilla). Different vanilla version and shape, different tasks; not reconciled here. The cause is not investigated: the per-request engine logs (stack-r*/engine.log,requests.log) hold the split between prefill, decode and the speculative-decode statistics and were not read. That is the next step before any statement about why.
3. What the data cannot resolve
- Quality or iteration differences below roughly the run-to-run spread (rounds CV 20-30 % with n = 3): not resolvable here; 20+ repetitions per cell would be needed for a 10 % round difference.
- Whether the Leleka
tttr2 Restart defect is Leleka-specific: one of three pages, same prompt; the other 14 pages of the other arms did not show it. Greedy sessions are not reproducible, so one defect in nine pages is an observation, not a rate. - Quality on long, real tasks: both tasks end within ~125k tokens of context.
- Arm order effects: the blocks of one repetition ran within about two hours; server drift (clocks, temperature) is in
stack-r*/mon.csvand was not analysed.
4. Files
Server /data/leleka-e2e/codex-compare/: runs/main/{LEL,VAN,VANL}/<task>-r<k>/ (cell.json, proxy/, transcript.md, workspace), runs/main/_compare, _index, results-20261105-0558/, reaccept-1/reaccept.out, window-*.out, job logs runs/main/job-*.log. Laptop scratch (not kept in Git): workspaces without node_modules, the Playwright 1.49.1 install, probe variants (check_ttt_v2.mjs: gap clustering). Evidence tables in this repository: docs/e2e-data/codex-compare/.