- Mastering The Faster Web with PHP,MySQL,and JavaScript
- Andrew Caya
- 173字
- 2021-06-25 21:16:55
JavaScript – Developer Tools
In order to measure performance and profile the JavaScript code contained in this book, we will use Google Chrome's built-in developer tools. Specifically, Chrome includes a timeline recorder and JavaScript CPU profiler that will allow you to identify bottlenecks in your JavaScript code. To activate these tools, please click on the three dots in the upper-right corner of the browser and click on the Developer Tools entry in the More Tools submenu, as shown:

Finding the ‘Developer Tools’ entry in the ‘More Tools’ section of Chrome’s main menu
Using the profiler is as easy as clicking the Record button and refreshing the page you wish to profile. You can then analyze the results in order to identify potential problems with the code:

Chrome’s timeline recorder and JavaScript CPU profiler
In Chapter 7, JavaScript and "Danger Driven Development", and Chapter 8, Functional JavaScript, we will be using this tool more extensively in order to measure and optimize JavaScript code performance in general.
- scikit-learn Cookbook
- Unreal Engine Physics Essentials
- Mobile Application Development:JavaScript Frameworks
- 華為HMS生態與應用開發實戰
- Python Tools for Visual Studio
- Java程序設計與實踐教程(第2版)
- JS全書:JavaScript Web前端開發指南
- TypeScript實戰指南
- Working with Odoo
- 從0到1:HTML5 Canvas動畫開發
- Java并發編程:核心方法與框架
- Python Linux系統管理與自動化運維
- Mastering Machine Learning with scikit-learn
- 歐姆龍PLC編程指令與梯形圖快速入門
- 算法(第4版)