Thursday, December 6, 2018

console.timeStamp() and Major GC

You run the console.timeStamp(); command kind of like console.log("foo"); only this will put ticks in a timeline at the Performance tab of Google Chrome Developer Tools. There are a couple of timelines herein. There is a big timeline and you may make a selection there and see just that bit of the timeline zoomed in in a second timeline. I wish the folks making Adobe Premiere had been smart enough to make a second timeline like this so one didn't have to zoom in and out all of the time. Adobe Premiere is so claustrophobic. I digress. Anyhow there is also an "Event Log" tab at a second set of tabs you will notice after a recording and if you watch Angular's doings you will see "Major GC" in here for the garbage collection. I like the corny name they gave it. We totally have some serious garbage collection going on y'all.

No comments:

Post a Comment