Skip to content

Lazy load CommandPalette and AboutDialog - #15203

Merged
Dustin L. Howett (DHowett) merged 2 commits into
mainfrom
dev/lhecker/lazy-command-palette
Apr 19, 2023
Merged

Dustin L. Howett (DHowett) merged 2 commits into
mainfrom
dev/lhecker/lazy-command-palette

Conversation

@lhecker

@lhecker Leonard Hecker (lhecker) commented Apr 18, 2023 •

Copy link
Copy Markdown
Member

This sets x:Load to false for the two elements.
On my system, with Windows Defender disabled, this reduces CPU
usage by 15ms and the visual delay during launch by 40ms.

Part of #5907

Validation Steps Performed

  • Ctrl+Shift+P opens command palette ✅
  • Context menu opens command palette ✅
  • Context menu opens about dialog ✅

@lhecker Leonard Hecker (lhecker) changed the title Fix Peasant::ActivateWindow being called with an all 0 GUID Lazy load CommandPalette and AboutDialog Apr 18, 2023
Base automatically changed from dev/lhecker/fix-peasant-active-window to main April 19, 2023 17:42
@DHowett

Copy link
Copy Markdown
Member

You'll probably need to merge up main for every one of these

@DHowett
Dustin L. Howett (DHowett) force-pushed the dev/lhecker/lazy-command-palette branch from d11290c to 83bb7e0 Compare April 19, 2023 18:20
@DHowett
Dustin L. Howett (DHowett) enabled auto-merge (squash) April 19, 2023 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Performance Performance-related issue Automerge-Not-Compatible Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants