Chrome Dev Tools: Timeline Tab
Info and mini-lesson on the 'Timeline' tab of Chrome Dev Tools. Check out more in-depth documentation here: https://developers.google.com/web/tools/profile-performance/evaluate-performance/timeline-tool
The Timeline panel lets you record and analyze all the activity in your application as it runs. It's the best place to start investigating perceived performance issues in your application.
Just like you use network to find out how long things take to communicate with the internet and you use sources to find out where something's broken, you can use timeline to figure out what's going on and how long it takes in even more detail.
With the timeline you record events using the small circle button. You can record (or capture) stacks, profile js, memory, and paint (css).
When you record (capture) these, it sets them up in small, detailed logs that you can organize many ways to fit you.
All of this will help you to better understand what's happening in the browser, particularly which events require more browser memory than others.
When you're using timeline, remember to use this 'clear' button and to start recording before you load the page, depending on what you want to capture.
You'll notice that when you record JS events, clicking on the title or "function call" on the left will take you to the document and line of that function using the resource panel.
Other Videos By freeCodeCamp.org
2015-09-20 | Computer Basics 14: Content Delivery Networks |
2015-09-20 | The DOM: What's the Document Object Model? |
2015-09-20 | Big O Notation: A Few Examples |
2015-09-20 | The DOM: Style in the Header, Script in the Footer |
2015-09-20 | Big O Notation: What It Is and Why You Should Care |
2015-08-24 | Chrome Dev Tools: Summary Tab |
2015-08-24 | Chrome Dev Tools: Console Tab |
2015-08-24 | Chrome Dev Tools: Audits Tab |
2015-08-24 | Chrome Dev Tools: Resources Tab |
2015-08-24 | Chrome Dev Tools: Memory Tab |
2015-08-24 | Chrome Dev Tools: Timeline Tab |
2015-08-24 | Chrome Dev Tools: Sources Tab |
2015-08-24 | Chrome Dev Tools: Network Tab |
2015-08-24 | Chrome Dev Tools: Elements Tab |
2015-08-23 | JavaScript Lingo: Regular Expressions |
2015-08-23 | JavaScript Lingo: Loops |
2015-08-23 | JavaScript Lingo: Math |
2015-08-23 | JavaScript Lingo: Manipulating Data |
2015-08-23 | JavaScript Lingo: Finding and Indexing Data in Arrays |
2015-08-23 | |
2015-08-23 | JavaScript Lingo: Variables & camelCase |