docs: fix performance tutorial (#38469)
* docs: fixed "Analyze runtime performance" link * docs: added missing list item
This commit is contained in:
parent
c14f7b7d0b
commit
9ffffdb6ef
1 changed files with 3 additions and 2 deletions
|
@ -54,7 +54,7 @@ at once, consider the [Chrome Tracing](https://www.chromium.org/developers/how-t
|
||||||
|
|
||||||
### Recommended Reading
|
### Recommended Reading
|
||||||
|
|
||||||
* [Get Started With Analyzing Runtime Performance][chrome-devtools-tutorial]
|
* [Analyze runtime performance][chrome-devtools-tutorial]
|
||||||
* [Talk: "Visual Studio Code - The First Second"][vscode-first-second]
|
* [Talk: "Visual Studio Code - The First Second"][vscode-first-second]
|
||||||
|
|
||||||
## Checklist: Performance recommendations
|
## Checklist: Performance recommendations
|
||||||
|
@ -69,6 +69,7 @@ resource-hungry if you attempt these steps.
|
||||||
5. [Unnecessary polyfills](#5-unnecessary-polyfills)
|
5. [Unnecessary polyfills](#5-unnecessary-polyfills)
|
||||||
6. [Unnecessary or blocking network requests](#6-unnecessary-or-blocking-network-requests)
|
6. [Unnecessary or blocking network requests](#6-unnecessary-or-blocking-network-requests)
|
||||||
7. [Bundle your code](#7-bundle-your-code)
|
7. [Bundle your code](#7-bundle-your-code)
|
||||||
|
8. [Call `Menu.setApplicationMenu(null)` when you do not need a default menu](#8-call-menusetapplicationmenunull-when-you-do-not-need-a-default-menu)
|
||||||
|
|
||||||
### 1. Carelessly including modules
|
### 1. Carelessly including modules
|
||||||
|
|
||||||
|
@ -432,7 +433,7 @@ If you build your own menu or use a frameless window without native menu, you sh
|
||||||
Call `Menu.setApplicationMenu(null)` before `app.on("ready")`. This will prevent Electron from setting a default menu. See also https://github.com/electron/electron/issues/35512 for a related discussion.
|
Call `Menu.setApplicationMenu(null)` before `app.on("ready")`. This will prevent Electron from setting a default menu. See also https://github.com/electron/electron/issues/35512 for a related discussion.
|
||||||
|
|
||||||
[security]: ./security.md
|
[security]: ./security.md
|
||||||
[chrome-devtools-tutorial]: https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/
|
[chrome-devtools-tutorial]: https://developer.chrome.com/docs/devtools/performance/
|
||||||
[worker-threads]: https://nodejs.org/api/worker_threads.html
|
[worker-threads]: https://nodejs.org/api/worker_threads.html
|
||||||
[web-workers]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
|
[web-workers]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
|
||||||
[request-idle-callback]: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
|
[request-idle-callback]: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue