UnityLauncherPro icon indicating copy to clipboard operation
UnityLauncherPro copied to clipboard

Profile startup time and project list update

Open unitycoder opened this issue 2 years ago • 11 comments

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 avatar Nov 08 '21 13:11 unitycoder

startup time: image

image

image

unitycoder avatar Nov 13 '21 21:11 unitycoder

getting file info seems slow also, image

unitycoder avatar Mar 09 '22 18:03 unitycoder

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

unitycoder avatar Jul 28 '22 21:07 unitycoder

refresh layout is slower than scanning projects? image

unitycoder avatar Sep 21 '22 18:09 unitycoder

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

unitycoder avatar Sep 21 '22 18:09 unitycoder

allocations: image image

cpu usage: SetFocus to grid is slow! image

loadsettings bit slow, checking and setting those checkboxes? image

unitycoder avatar Sep 21 '22 19:09 unitycoder

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 avatar Apr 25 '23 17:04 unitycoder

cleaning up checkbox inits:

orig: image

after: image

unitycoder avatar Dec 25 '23 20:12 unitycoder

eliminated unnecessary directoryinfo scan, before: image

after: image

unitycoder avatar Jan 02 '24 17:01 unitycoder

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

unitycoder avatar Jan 02 '24 18:01 unitycoder

timedate converter, image

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

unitycoder avatar Jan 08 '24 20:01 unitycoder