GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(app): keep the model picker responsive with large catalogs by neriousy · Pull Request #65189 · anomalyco/opencode Conversation
|
| before | after | |
|---|---|---|
| open | 1.46s | 0.67s |
| hover a row | 691ms | 123ms |
| keystroke | 456ms | 230ms |
| arrow down | 117ms | 17ms |
same thing with a Console budget on every row:
| before | after | |
|---|---|---|
| open | 4.42s | 1.02s |
| hover a row | 1.73s | 164ms |
| keystroke | 837ms | 241ms |
| arrow down | 135ms | 24ms |
bun typecheck in app + uisrc/providers and src/usage passmobile-model-pickers, composer, settings-search, command-palette in built mode: 93 pass, 3 fail locally on macOS (2 composer paste, 1 command palette shortcut). they fail the same way on origin/devno visual change, only speed. same stress story with a Console budget on every row, 4x CPU throttle. the red dot is the pointer, it lags when the main thread is blocked. the box in the top left shows how long the last action took
before (dev)
after
| before | after |
|---|---|
![]() |
![]() |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good. On a 2,023-model catalog, served from source and timed with the #65179 Playwright script, the base was clearly slow: hover took ~460 ms, ArrowDown ~270 ms and search keystrokes 575–900 ms. With this PR, hover takes ~45 ms, ArrowDown ~17 ms and keystrokes 46–160 ms. Opening went from ~1.1 s to ~0.8 s. The flyout looks the same in base and PR screenshots. tsc is clean in app and ui. The unit tests in src/providers and src/usage have the same 2 failures on the base.
I checked a few things that could regress and they hold up:
Map.groupBy is already polyfilled.content-visibility: auto doesn't collapse offscreen rows or throw off scroll and reveal positions.display: contents wrapper doesn't change where the flyout is positioned.Public API is unchanged; this only touches app and UI internals.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Desktop regression: model list takes 8+ seconds to load and update, freezing the UI
There was an error while loading. Please reload this page.