You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make --performance flag work with opening a second window #11220
Benjamin Pasero (@bpasero) fyi I found this because I have the feeling that opening a new window is slower then starting VS Code but I have a hard time debugging/measuring this. Any tips are welcome.
Johannes Rieken (@jrieken) yeah this flag currently only makes sense for the first window to open, it is not fit for multi window case, though we could probably add that because we know how many windows are open.
Johannes Rieken (@jrieken) only thing I know right now to measure startup time within a window is to run the profiler and do a Reload Window. This should be very similar to the time it takes to open a second window.
That said I would be surprised if a second window really opens slower compared to a first one...
You can now always run Developer: Startup Performance even if not providing --performance (it will just have a little less details). Also, for a second window, the start time will be correctly taken as the load time of the window and not the overall program start time.
Activity
jrieken commentedon Aug 30, 2016
Benjamin Pasero (@bpasero) fyi I found this because I have the feeling that opening a new window is slower then starting VS Code but I have a hard time debugging/measuring this. Any tips are welcome.
bpasero commentedon Aug 30, 2016
Johannes Rieken (@jrieken) yeah this flag currently only makes sense for the first window to open, it is not fit for multi window case, though we could probably add that because we know how many windows are open.
[-]--performance flag produces wrong numbers[/-][+]Make --performance flag work with opening a second window[/+]bpasero commentedon Aug 30, 2016
Johannes Rieken (@jrieken) only thing I know right now to measure startup time within a window is to run the profiler and do a Reload Window. This should be very similar to the time it takes to open a second window.
That said I would be surprised if a second window really opens slower compared to a first one...
Allow to visualize performance numbers of opening a second window (fixes
bpasero commentedon Nov 16, 2016
You can now always run
Developer: Startup Performanceeven if not providing--performance(it will just have a little less details). Also, for a second window, the start time will be correctly taken as the load time of the window and not the overall program start time.