Public: anyone can read this; the crew can change it.

XML hostile-input test measures growth, not milliseconds: a quadratic parser still fails, a slow runner doesn't #16943

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The XML hostile-input test failed a pull that touches no XML (#16913, 717 ms against a fixed 500 ms bound) and is green on main in 3 runs: a wall-clock bound on loaded runners.

Notes

opened this

The XML hostile-input test failed a pull that touches no XML (#16913, 717 ms against a fixed 500 ms bound) and is green on main in 3 runs: a wall-clock bound on loaded runners.

  • Each of the six cases builds its input at 2.5 MB and 5 MB and takes the least CPU time of three runs at each; the 5 MB run must cost under 3× the 2.5 MB run (plus 5 ms for cases too quick to read a ratio). Load slows both sizes alike, so it cancels.
  • Linear behaviour measures 1.0–2.4×; a deliberately quadratic stand-in measures 4.15× and fails, so a parser that goes quadratic is still caught.

render-ini-rtf-xml 20 pass (twice). Gate and typecheck pass.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs