- 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.
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- WildFly:New Features
- ClickHouse性能之巔:從架構設計解讀性能之謎
- Building a Home Security System with Raspberry Pi
- 控糖控脂健康餐
- MariaDB High Performance
- HTML5入門經典
- 基于Struts、Hibernate、Spring架構的Web應用開發
- 執劍而舞:用代碼創作藝術
- 區塊鏈技術進階與實戰(第2版)
- C語言程序設計實訓教程與水平考試指導
- Python Projects for Kids
- Python預測分析與機器學習
- Drupal 8 Development Cookbook(Second Edition)
- Oracle Database XE 11gR2 Jump Start Guide