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

Profile startup time and project list update #54

Open
unitycoder opened this issue Nov 8, 2021 · 11 comments
Open

Profile startup time and project list update #54

unitycoder opened this issue Nov 8, 2021 · 11 comments
Labels

Comments

@unitycoder
Copy link
Owner

takes over 1s sometimes.. how to profile wpf apps and startup time..?

https://docs.microsoft.com/en-us/visualstudio/profiling/application-timeline?view=vs-2019
https://stackoverflow.com/a/33532790/5452781

@unitycoder
Copy link
Owner Author

unitycoder commented Nov 13, 2021

startup time:
image

image

image

@unitycoder
Copy link
Owner Author

getting file info seems slow also,
image

@unitycoder
Copy link
Owner Author

could test this fileversioninfo
https://stackoverflow.com/a/22861331/5452781

@unitycoder
Copy link
Owner Author

refresh layout is slower than scanning projects?
image

@unitycoder
Copy link
Owner Author

ok, vs profiler gives top list when updating project list:
image

@unitycoder
Copy link
Owner Author

unitycoder commented Sep 21, 2022

allocations:
image
image

cpu usage:
SetFocus to grid is slow!
image

loadsettings bit slow, checking and setting those checkboxes?
image

@unitycoder
Copy link
Owner Author

unitycoder commented Apr 25, 2023

with 103 recent projects and 15 unity editors, typing or erasing in search field is getting sluggish..
need to look into that.

*another pc with 61 recent projects and 15 unity editors, no lag on search.

@unitycoder
Copy link
Owner Author

cleaning up checkbox inits:

orig:
image

after:
image

@unitycoder
Copy link
Owner Author

eliminated unnecessary directoryinfo scan,
before:
image

after:
image

@unitycoder
Copy link
Owner Author

simplified Project.ToString() override, now it disappeared from this list?
image

unitycoder added a commit that referenced this issue Jan 2, 2024
@unitycoder
Copy link
Owner Author

timedate converter,
image

if just return null ~32ms.. but cannot disable, will check later..
image

unitycoder added a commit that referenced this issue Jan 8, 2024
unitycoder added a commit that referenced this issue Feb 13, 2024
* dev:
  refresh projects after adding Unity editors, started adding project properties window (not used yet),
  new project: add warning if projectname starts or ends with Space character
  change/optimize GetElapsedTime #54
  simplified Project.ToString() override (its not needed anywhere, but WPF keeps calling it) #54
  remove unnecessary FindDir/DirectoryInfo scan #54
  avoid calling checkbox checked setting save code at startup (#54)
  after sorting columns: scroll view to selected row
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant