Chrome developer tools has an option to Start/Stop Recording profiling data with respect to Memory,Paint,Screenshots,JS Profile on the Timeline Panel. Once I refresh a page the recording begins automatically and stops when the page has loaded.
Is there a way to
1)Start this recording in the background automatically without needing to open developer tools in chrome/node-webkit window. Maybe the recording can be enabled via some Chrome API which can be called when the application loads
2)Dump the recorded data into a log file (e.x. a json file) once the recording is over.
Any pointers in the right direction will be appreciated.
Yup!
Here you go:
https://github.com/paulirish/automated-chrome-profiling/blob/master/readme.md#timeline-recording-example
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/89158831-59a3-4fdc-ac2a-57175767624c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 1, 2016 11:46 PM, "Komail Badami" <komailabb...@gmail.com> wrote:
--Chrome developer tools has an option to Start/Stop Recording profiling data with respect to Memory,Paint,Screenshots,JS Profile on the Timeline Panel. Once I refresh a page the recording begins automatically and stops when the page has loaded.
Is there a way to
1)Start this recording in the background automatically without needing to open developer tools in chrome/node-webkit window. Maybe the recording can be enabled via some Chrome API which can be called when the application loads
2)Dump the recorded data into a log file (e.x. a json file) once the recording is over.
Any pointers in the right direction will be appreciated.
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Hi Paul,I was able to set up the remote debugging interface with port 9222 and launch the code which you shared. However, it failed to complete and threw me an error as belowC:\Users\komail22.badami\Desktop\chrome-remote-interface\node_modules\chrome-remote-interface\node_modules\ws\lib\WebSocket.js:218else throw new Error('not opened');^Error: not openedat WebSocket.send (C:\Users\komail22.badami\Desktop\chrome-remote-interface\node_modules\chrome-remote-interface\node_modules\ws\lib\WebSocket.js:218:16)at Chrome.send (C:\Users\komail22.badami\Desktop\chrome-remote-interface\node_modules\chrome-remote-interface\lib\chrome.js:198:13)Will the tracing complete and dump it to a file as in the code, I am expecting that to happen by looking at the code you've shared.Can you please guide me on this.Thanks!
On Tuesday, February 2, 2016 at 2:16:38 PM UTC+5:30, Paul Irish wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/82296815-4d3a-4ba3-a792-856b7cd44ff9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/89158831-59a3-4fdc-ac2a-57175767624c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.