{"type":"config","name":"painted first-show cold-start","metricName":"first_show_ms","metricUnit":"ms","bestDirection":"lower"}
{"run":1,"commit":"56602ff","metric":92.217,"metrics":{},"status":"keep","description":"Retargeted autoresearch to first_show_ms with the same anti-overfitting multi-scenario fresh-process harness; established new first-show baseline after import-surface wins.","timestamp":1773605035570,"segment":0}
{"run":2,"commit":"1541302","metric":88.988,"metrics":{},"status":"keep","description":"Reduced first_show cold path by making display.py imports lazy: defer cli/context, icon_set, core writer, Block, and shape_lens imports until needed inside show(). Preserves behavior while significantly lowering show_import and improving first_show.","timestamp":1773605096227,"segment":0}
{"run":3,"commit":"1541302","metric":90.856,"metrics":{},"status":"discard","description":"Tried importing shape_lens from .views.lens.shape directly to avoid lens package re-export imports on first show call; no primary gain and first_show regressed, so discarded.","timestamp":1773605146622,"segment":0}
{"run":4,"commit":"0e042b8","metric":77.414,"metrics":{},"status":"keep","description":"Refactored show() to avoid importing CLI context/types on the first render path: normalize format by value/string locally, use a tiny local context detector (ANSI + width), and import shape_lens directly from views.lens.shape. Preserves behavior while cutting first_show_ms and module load substantially.","timestamp":1773605223878,"segment":0}
{"run":5,"commit":"e6a13b9","metric":76.092,"metrics":{},"status":"keep","description":"Further reduced first_show by making display.py module import lighter: defer shutil and nullcontext imports to runtime call sites. Restored show_import_ms while improving first_show_ms again; targeted show tests still pass.","timestamp":1773605255273,"segment":0}
{"run":6,"commit":"9f648f1","metric":75.957,"metrics":{},"status":"keep","description":"Reduced first_show lens cold-path overhead by importing chart_lens/tree_lens in shape_lens only when those dispatch branches are selected (numeric/hierarchical data). For simple dict payloads this avoids extra lens module imports; show/lens tests pass.","timestamp":1773605298166,"segment":0}
{"run":7,"commit":"9f648f1","metric":76.943,"metrics":{},"status":"discard","description":"Tried faster format normalization in display._format_value with direct str/value checks to reduce enum handling overhead; first_show_ms regressed versus current best.","timestamp":1773605884809,"segment":0}
{"run":8,"commit":"9f648f1","metric":77.566,"metrics":{},"status":"discard","description":"Control rerun to gauge variance after prior keep. Metrics stayed above best; no change retained.","timestamp":1773605899151,"segment":0}
{"run":9,"commit":"9f648f1","metric":77.139,"metrics":{},"status":"discard","description":"Tried single-pass dict auto-dispatch in shape_lens (combine labeled-numeric/hierarchical checks) to reduce helper calls. Behavior/tests OK but first_show_ms regressed versus best.","timestamp":1773605928968,"segment":0}
{"run":10,"commit":"9f648f1","metric":77.021,"metrics":{},"status":"discard","description":"Tried removing hasattr guard from show context detection (use sys.stdout.isatty directly). No primary improvement; discarded.","timestamp":1773605953922,"segment":0}
{"run":11,"commit":"9f648f1","metric":76.752,"metrics":{},"status":"discard","description":"Tried plain-format fast path in _detect_show_context (skip isatty when force_plain). Slightly better than recent variants but still above best first_show_ms.","timestamp":1773605993615,"segment":0}
{"run":12,"commit":"9f648f1","metric":77.072,"metrics":{},"status":"discard","description":"Tried skipping ASCII icon scope for default shape_lens plain path (only apply icon override for custom lens). No primary gain and memory secondary worsened; discarded.","timestamp":1773606020670,"segment":0}
{"run":13,"commit":"9f648f1","metric":76.904,"metrics":{},"status":"discard","description":"Added singleton-dict fast path in shape_lens _render_dict for zoom>=2 to avoid generic list/max setup on first_show payload shape; benchmark still regressed from best.","timestamp":1773606047417,"segment":0}
{"run":14,"commit":"f046c4d","metric":75.26,"metrics":{},"status":"keep","description":"Avoid importing Block for common builtin payloads in show(): guard Block passthrough behind a builtin-type fast check so dict/list/scalar first-show paths skip block module import and isinstance work. Keeps Block passthrough behavior for non-builtin objects; show tests pass.","timestamp":1773606094900,"segment":0}
{"run":15,"commit":"5db1529","metric":74.465,"metrics":{},"status":"keep","description":"Simplified plain-render icon handling in show(): for default shape_lens path, skip icon context entirely; only apply use_icons(ASCII_ICONS) when caller passes a custom lens in plain mode. Reduced first_show overhead while preserving custom-lens plain behavior; show tests pass.","timestamp":1773606133588,"segment":0}
{"run":16,"commit":"5db1529","metric":74.649,"metrics":{},"status":"discard","description":"Control rerun after latest keep to validate stability; metric remained close but above best, so no new keep.","timestamp":1773606149976,"segment":0}
{"run":17,"commit":"5db1529","metric":74.885,"metrics":{},"status":"discard","description":"Inlined format normalization inside show() (removed helper call) to reduce call overhead; no primary gain and slight regression, discarded.","timestamp":1773606175415,"segment":0}
{"run":18,"commit":"5db1529","metric":0,"metrics":{},"status":"crash","description":"Attempted style constant reuse in shape_lens introduced accidental stray expression at module tail causing NameError during first_show import path. Fixed by removing stray line before next run.","timestamp":1773606246069,"segment":0}
{"run":19,"commit":"5db1529","metric":75.029,"metrics":{},"status":"discard","description":"Post-revert control rerun to re-anchor variance around current best branch state; remained slightly above best.","timestamp":1773606280790,"segment":0}
{"run":20,"commit":"5db1529","metric":73.955,"metrics":{},"status":"discard","description":"No-code rerun produced a lower sample likely from run-to-run noise/system variance. Discarded to avoid treating measurement noise as a real optimization.","timestamp":1773606313555,"segment":0}
{"run":21,"commit":"5db1529","metric":75.147,"metrics":{},"status":"discard","description":"Final control run in this 15-run batch; landed above best and confirms current kept changes remain the durable improvement set.","timestamp":1773606331778,"segment":0}
{"run":22,"commit":"363450c","metric":49.278,"metrics":{},"status":"keep","description":"Made painted.views package exports fully lazy via __getattr__ mapping instead of eager importing all components/lenses/palette/icon modules at package import time. This removes heavy side effects when show() imports views.lens.shape, cutting first_show module load substantially; targeted view/show test suite passes.","timestamp":1773606437864,"segment":0}
