UnityLauncherPro
UnityLauncherPro copied to clipboard
Profile startup time and project list update
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
startup time:
getting file info seems slow also,
could test this fileversioninfo https://stackoverflow.com/a/22861331/5452781
refresh layout is slower than scanning projects?
ok, vs profiler gives top list when updating project list:
allocations:
cpu usage: SetFocus to grid is slow!
loadsettings bit slow, checking and setting those checkboxes?
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.
cleaning up checkbox inits:
orig:
after:
eliminated unnecessary directoryinfo scan, before:
after:
simplified Project.ToString() override, now it disappeared from this list?
timedate converter,
if just return null ~32ms.. but cannot disable, will check later..