Reproduction for PR 38585. No product code is patched or mocked.
Requirements: Linux, installed T3 checkout dependencies, node, python3, Pillow for PNG output.
Put the scripts together in an empty scratch directory.
python3 measure.py /path/to/base-checkout before
python3 measure.py /path/to/head-checkout after
python3 summarize.py
python3 capture.py
Each measure.py invocation runs a real source server on port 18985, a fresh T3 home,
and replay/showcase through the real provider adapter. Run sequentially on the same machine.
The first invocation generates exactly 125*128*188 = 3,008,000 empty text files.
It adds the project using the CLI, finishes an initial turn, searches once through the
real WebSocket RPC, closes the socket, and sends 27 plain turns, one per minute.
It waits for each built-in WorkspaceEntries.refresh trace span and records its duration,
the WorkspaceSearchIndex.refresh spans, /proc RSS, threads and inotify watch counts.
The original 15-minute TTL and wall clock are unchanged.
Statistics use the preselected steady-state window, minutes 17-27 (11 repetitions).
The one-time destruction refresh is shown separately in the complete output.
measure.py stops the server it started in a finally block. It does not run the web UI.
No listing, further search, or file-chip resolution occurs after the single search.
Private server logs stay local and are not part of the uploaded evidence.
