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
calling new BrowserWindows should not spend 30-300ms creating Menu
Actual behavior
We get reports from our users, via code --prof-start, that show that creating a new browser windows is often slow. The profiles all point to the Menu constructor which ideally takes around 30ms but often takes more than 250ms (microsoft/vscode#21964)
Ideally this can be avoided, esp. because this builds the default menu not the actual menu.
We are no longer implementing bugfixes for versions of Electron < 1.8.x, so i'm going to close this issue but if it is still persisting in more recent versions of Electron we can certainly reopen it!
Expected behavior
calling
new BrowserWindows
should not spend 30-300ms creatingMenu
Actual behavior
We get reports from our users, via
code --prof-start
, that show that creating a new browser windows is often slow. The profiles all point to theMenu
constructor which ideally takes around 30ms but often takes more than 250ms (microsoft/vscode#21964)Ideally this can be avoided, esp. because this builds the default menu not the actual menu.
To repro
code --prof-startup
,or
npm run start-perf
script, which breaks on port 5678The text was updated successfully, but these errors were encountered: