This code will mark each frame and it will make it easier to pin down console.log
s being called in the same frame—intended as in frames per second, not html frames.
Consider this code:
setTimeout(function hello() { console.log('Logging "Hello"'); }, 10);
setTimeout(function world() { console.log('Logging "World"'); }, 20);