Chrome Dev Tools: Memory Tab

preview_player
Показать описание
Note: Chrome recently renamed their "Profiles" tab "Memory". Other than that, most of the content in this video remains accurate.

The Profiles panel lets you profile the execution time and memory usage of a web app or page. This primarily applies to the JavaScript running on your page or app.

There are three types of profiles you can collect: CPU profile, HEAP snapshot, and HEAP profile. HEAP profiles have more to do with memory usage, while a CPU profile has more to do with JavaScript performance.

A profiler called V8 is used while your code runs to pinpoint what in the JavaScript takes the most time, making it easy to optimize your code.

Each of these profiles can be viewed on the left, and you can take multiple profiles of each. Overall, the profiles tab is helpful when optimizing code.
Рекомендации по теме
Комментарии
Автор

More in-depth and how-tos would be great!

RezaMohseni