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 th
Found my answer here in the link below. Thanks to @Paul Irish
https://github.com/paulirish/automated-chrome-profiling/blob/master/readme.md#timeline-recording-example