console.time("Timer");

var arr = new Array(1000);
var oldTime = Date.now();

for(var i=0; i < arr.length; ++i) {
  arr[i] = {};
  arr[i].time = Date.now();
  arr[i].diff = Date.now() - oldTime;
}

console.table(arr);
console.timeEnd("Timer");

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.