call-trace icon indicating copy to clipboard operation
call-trace copied to clipboard

automating

Open paulirish opened this issue 9 years ago • 0 comments

need to add support for running on node and not having to copy(JSON.stringify(...)) like an idiot

You could use https://github.com/cyrus-and/chrome-remote-interface to evaluate that command. So probably something like...

# instrument a file
call-trace --instrument file.js > file.instrumented.js

# user runs it in a browser that's got debug port 9222 open (first tab ;)

# pull the results
call-trace --pull > output.cpuprofile

paulirish avatar Feb 27 '16 01:02 paulirish