JavaScript memory and time profiling

Shows javascript memory usage by object, process, DOM element, or thread. Start or stop running JS profiles in Chrome.

function some_thing() {
  performance.now();
  console.profileStart();
  do_thing();
  console.profileEnd();
  console.log( performance.now() );
}