Re: [v8-users] CpuProfile serialization API.

2015-06-24 Thread Ben Noordhuis
On Wed, Jun 24, 2015 at 12:36 PM, Jane Chen jxche...@gmail.com wrote: Is there serialization API for v8 CpuProfile? I'd like to generate a file such as v8.log using --prof in my embedding application at the granularity of a JavaScript request. What's the correct way of doing that? My v8

Re: [v8-users] CpuProfile serialization API.

2015-06-24 Thread Jane Chen
What I mean is that I know how to use --prof flag to enable profiling which serializes to a file, but I'd like to use CpuProfiler's Start/Stop API to control profiling. Thanks for the pointer. We'll check it out. On Wednesday, June 24, 2015 at 7:22:26 AM UTC-7, Ben Noordhuis wrote: On Wed,