title: Auto record and save chrome developer tools profiling data on page load?
body: <p>Chrome developer tools has an option to Start/Stop Recording profiling data with respect to Memory,Paint,Screenshots,JS Profile on the Timeline tab. Once I refresh a page the recording begins automatically and stops when the page has loaded.</p>
  
  <p>Is there a way to</p>
  
  <blockquote>
    <p>1)Start this recording in the background automatically <strong>without needing
    to open developer tools in chrome/node-webkit window</strong>. Maybe the
    recording can be enabled via some Chrome API which can be called when
    the application loads</p>
    
    <p>2)Dump the recorded data into a log file (e.x. a json file) once the
    recording is over.</p>
  </blockquote>
  
  <p>Any pointers in the right direction will be appreciated.</p>