<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ida-tui.git/experiments/bench_ops.py, branch main</title>
<subtitle>tui for headless ida</subtitle>
<id>https://git.sl0p.foo/ida-tui.git/atom/experiments/bench_ops.py?h=main</id>
<link rel='self' href='https://git.sl0p.foo/ida-tui.git/atom/experiments/bench_ops.py?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/'/>
<updated>2026-08-09T20:50:31Z</updated>
<entry>
<title>SPEED: replace the historical backend table with a real 0.3.1 vs 0.3.2 A/B</title>
<updated>2026-08-09T20:50:31Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-08-09T20:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=4d490052f7d4dc0fccb3e718c801ef99e8646e22'/>
<id>urn:sha1:4d490052f7d4dc0fccb3e718c801ef99e8646e22</id>
<content type='text'>
The worker-vs-Code-Mode table was measured before 0.3.2 and with both
workarounds active, so it answered a question nobody asks any more. Replaced
with three configurations measured on the same box, rolling both checkouts
back and forward:

  A  old client WITH workarounds on 0.3.1  -- what shipped
  B  current client on 0.3.1               -- what the workarounds were for
  C  current client on 0.3.2               -- now

Headline: the real-world gain is ~1.4x geomean, NOT the 6.9x the empty round
trip advertises, and the doc says so in those words -- because the tempting
number to quote is the wrong one. The A-&gt;C vs B-&gt;C gap is the actual story:
stock 0.3.1 was 5.4x slower, so the workarounds had already recovered nearly
everything and upstream mostly bought us the right to delete them.

Also records the three cost classes (payload- / round-trip- / IDA-dominated)
so the next person optimising here knows which lever moves which op, and the
~10% run-to-run spread so a sub-1.2x 'regression' doesn't start a hunt.

Old worker table kept below, labelled historical. experiments/bench_ops.py is
the harness, with the copy-to-/tmp-before-checkout trick documented in it.
</content>
</entry>
</feed>
