diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-13 12:18:26 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-13 12:18:26 -0300 |
| commit | 4f31aaef1338b53195f8c475db5a72d75cc1fc82 (patch) | |
| tree | f2c3c2140269a5559f60bcd9e2520f5ff7431565 /gui/bench | |
| parent | 771e377f6db9c3aed1ab85bc36a774f4176272cc (diff) | |
| download | computeranim-4f31aaef1338b53195f8c475db5a72d75cc1fc82.tar.gz computeranim-4f31aaef1338b53195f8c475db5a72d75cc1fc82.zip | |
debugger: add refractive lenses and configurable memory values
Use disassembly lenses for executable pointers, browse surrounding segment context, and keep the reading surface opaque with GPU refraction at the edges. Route right-clicks by stack mapping and expose byte-width and numeric-format controls. Replace matching-address arrows with staggered shared-renderer highlights.
Verified GUI and renderer suites, native restart/zoom cycles, independent float-extrema and popup review, and a live wrong-map stop at Deoptimizer::New with JS origin context. Requires Sketchbook 409c1ac.
Diffstat (limited to 'gui/bench')
| -rw-r--r-- | gui/bench/RESULTS.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gui/bench/RESULTS.md b/gui/bench/RESULTS.md index 5281ac2..e0c5626 100644 --- a/gui/bench/RESULTS.md +++ b/gui/bench/RESULTS.md @@ -154,3 +154,36 @@ The reboot cleared the historical `/tmp` artifacts listed above. The same V8 revision's runtime, source and all split DWARF artifacts have been restored into `.ws/v8-debug/`, an ignored persistent workspace cache. Historical timing results remain as reported; the fresh UI regression does not remeasure V8 stepping cost. + +## Executable lenses, memory formats and popup rendering + +Executable mappings now open shared disassembly rows in lenses. Wheel browsing +keeps the original focus bright and surrounding rows dim; Shift-wheel scrolls +the chain. Live lenses fetch bounded windows; historical lenses never request +current bytes. Right-click sends stack mappings to stack and other addresses to +memory. Memory controls render little-endian 1/2/4/8-byte values in hexadecimal, +unsigned, signed and floating-point forms. Matching addresses use shared, +staggered background highlights instead of cross-pane arrows. + +Native review caught two issues before completion: the backdrop initially ran +only in headless capture, and full-precision 64-bit floats exceeded their column +width. The shared host now uses a native GPU canvas plus one reused lens snapshot; +float columns reserve enough room for extreme positive and negative values. +The final popup keeps an opaque reading surface and limits refraction to a +16-pixel edge band, following the user's readability feedback. + +Verification: GUI suite (including `test/lenses.py`), shared-renderer suite, +independent native lens/format review, native restart tests and repeated 60–200% +zoom with open lenses. Window/backing sizes stayed fixed. The native review used +DBL_MAX/DBL_MIN and signed/unsigned 64-bit extrema, not only small sample values. +The renderer dependency is Sketchbook `409c1ac`; unrelated pending work in that +checkout was preserved. V8 stepping/capture timings were not remeasured for these +rendering-only changes. + +Final live session after the opaque-popup change: GUI PID17379, d8 PID17420, +recording `/tmp/ztrace-gui-17379-8471380224093.ztrace`. Generated wrong-map exit +`0x7f4c80c01fb6` was captured before continuing to `Deoptimizer::New+4` at +`0x7f4ce1be3f74` (`deoptimizer.cc:290`). Its `rdx` was exactly +`0x7f4c80c01fba`, the printed wrong-map return for the naturally optimized +`jitWork`. Origin context and the executable lens use guard `0x7f4c80c01bd4`. +The target remains stopped; lens inspection only captures bytes and instructions. |
