Basically, I want to be able to do this inside of a test file:
console.profile('foo');
//Some code
console.profileEnd('foo');
Then when run through Phantom be able to access the data from that
profile (in JSON) and write it out to disk so I can store and compare
it later.
As far as I can tell, that data is not exportable in a programatic
way, it's always sent to the Web Inspector panel to display the tree.
Dav
--
Dav Glass
davg...@gmail.com
blog.davglass.com
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +