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

[FZ Editor] load time performance #186

Closed
enricogior opened this issue Sep 5, 2019 · 5 comments
Closed

[FZ Editor] load time performance #186

enricogior opened this issue Sep 5, 2019 · 5 comments
Labels
Area-Quality Stability, Performance, Etc. FancyZones-Editor Issue revolving the FancyZone Editor Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.

Comments

@enricogior
Copy link
Contributor

Is there anything we could do to get it up and running faster?

@enricogior enricogior added the FancyZones-Editor Issue revolving the FancyZone Editor label Sep 5, 2019
@enricogior enricogior added the Product-FancyZones Refers to the FancyZones PowerToy label Sep 30, 2019
@crutkas
Copy link
Member

crutkas commented Dec 31, 2019

@enricogior do we have metrics to prove #778 did improve speed?

@enricogior
Copy link
Contributor Author

enricogior commented Jan 2, 2020

The improvement has been marginal, @yuyoyuppe recorded the start-up time measuring the speed in frames/s, I don't recall the exact numbers but I think it was around 10% or less.

@crutkas
Copy link
Member

crutkas commented Jan 2, 2020

Do we have telem put into place for measuring the time from when the editor is requested and the UI is rendered? I would like to get data here so we can validate if this is a larger issue. This way we can start figuring out what the baseline is.

@enricogior enricogior added the Area-Quality Stability, Performance, Etc. label May 1, 2020
@enricogior enricogior changed the title FancyZonesEditor takes a long time to load [FancyZones Editor] load time performance May 1, 2020
@enricogior enricogior removed the Product-FancyZones Refers to the FancyZones PowerToy label May 24, 2020
@enricogior enricogior changed the title [FancyZones Editor] load time performance [FZ Editor] load time performance May 24, 2020
@crutkas
Copy link
Member

crutkas commented Oct 30, 2020

Feel like this has been better but wonder if this is since i'm on my desktop.

@enricogior enricogior added the Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete. label Mar 3, 2021
@enricogior
Copy link
Contributor Author

0.31.2 and 0.33 seems decently fast, let's close this for now.

stefansjfw pushed a commit that referenced this issue Dec 18, 2024
A lot of this is just samples work, so skip on down to `src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/ActionBarViewModel.cs`.

* Updates the Action Bar with the title of the currently active page when we navigate to it
* listens for PropChanged events from `ICommandItem`s in lists and on `IPage`'s (to display a loading bar)
  * Also didn't put this on the ShellPage quite yet, because the diff was already massive, and there's complicated "are _we_ loading the page? did the `IPage` say it was loading?" plumbing that needs to be done. 
* adds rudimentary support for showing an exception, if there's an error we catch
  * I didn't add log this everywhere yet though, since we're not 100% confident on the messaging infrastructure here
  * I decided against putting this on the shell page, because I want users to be able to _go back_ from a page with an exception, and that didn't seem trivial if it was on the shellpage itself
* Then updates a bunch of extensions to better utilize the loading state. 
* Then discovers a really weird bug with event callbacks in WinRT, so I decided to wrap those in try/catches to have extensions explode less often. (#181)
* Then also adds a bunch of "evil" samples, to make a unified place of "things to try and break us"

ref #73

---------

Co-authored-by: Mike Griese <zadjii@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Quality Stability, Performance, Etc. FancyZones-Editor Issue revolving the FancyZone Editor Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.
Projects
None yet
Development

No branches or pull requests

3 participants