Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load CommandPalette and AboutDialog #15203

Merged
merged 2 commits into from Apr 19, 2023
Merged

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Apr 18, 2023

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 lhecker changed the title Fix Peasant::ActivateWindow being called with an all 0 GUID Lazy load CommandPalette and AboutDialog Apr 18, 2023
@lhecker lhecker added Area-Performance Performance-related issue Product-Terminal The new Windows Terminal. labels Apr 18, 2023
Base automatically changed from dev/lhecker/fix-peasant-active-window to main April 19, 2023 17:42
@DHowett
Copy link
Member

DHowett commented Apr 19, 2023

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

@DHowett DHowett force-pushed the dev/lhecker/lazy-command-palette branch from d11290c to 83bb7e0 Compare April 19, 2023 18:20
@DHowett DHowett enabled auto-merge (squash) April 19, 2023 18:24
@DHowett DHowett merged commit da0a6d4 into main Apr 19, 2023
14 of 15 checks passed
@DHowett DHowett deleted the dev/lhecker/lazy-command-palette branch April 19, 2023 19:18
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.

None yet

4 participants