Re: [v8-users] How do activate the V8 profiler?

2015-03-18 Thread Ben Noordhuis
On Wed, Mar 18, 2015 at 4:43 PM, Danny Dorfman wrote: > I have one more question, please: Once the profiler is done, where are the > results collected? > How do I get them into an external file for analysis? You can walk the CpuProfile nodes and write them to disk in .cpuprofile format, a JSON fo

Re: [v8-users] How do activate the V8 profiler?

2015-03-18 Thread Danny Dorfman
I have one more question, please: Once the profiler is done, where are the results collected? How do I get them into an external file for analysis? > On Wednesday, March 18, 2015 at 1:52:42 PM UTC+2, Ben Noordhuis wrote: >> >> On Wed, Mar 18, 2015 at 10:09 AM, Danny Dorfman >> wrote: >> > He

Re: [v8-users] How do activate the V8 profiler?

2015-03-18 Thread Danny Dorfman
Thanks Ben! That's exactly what I was looking for. On Wednesday, March 18, 2015 at 1:52:42 PM UTC+2, Ben Noordhuis wrote: > > On Wed, Mar 18, 2015 at 10:09 AM, Danny Dorfman > wrote: > > Hello there, > > > > I need to activate the V8 profiler programmatically, from my C++ > application > > t

Re: [v8-users] How do activate the V8 profiler?

2015-03-18 Thread Ben Noordhuis
On Wed, Mar 18, 2015 at 10:09 AM, Danny Dorfman wrote: > Hello there, > > I need to activate the V8 profiler programmatically, from my C++ application > that runs V8. > I tried reading through this Wiki: > https://code.google.com/p/v8-wiki/wiki/V8Profiler > but I'm afraid that it is not up-to-date

Re: [v8-users] Re: Simple development queries

2015-03-18 Thread Jakob Kummerow
On Wed, Mar 18, 2015 at 10:44 AM, Deepak Subramanian wrote: > Thanks a lot. These have been most helpful. > > I would like to know how to disable crankshaft. (I do not want > optimizations at this phase and feel full-codegen is sufficient for my > needs at the moment) I just changed isolate.cc's

[v8-users] Re: Simple development queries

2015-03-18 Thread Deepak Subramanian
Thanks a lot. These have been most helpful. I would like to know how to disable crankshaft. (I do not want optimizations at this phase and feel full-codegen is sufficient for my needs at the moment) I just changed isolate.cc's use_crankshaft() to return false at all times. Is this the right way

[v8-users] How do activate the V8 profiler?

2015-03-18 Thread Danny Dorfman
Hello there, I need to activate the V8 profiler programmatically, from my C++ application that runs V8. I tried reading through this Wiki: https://code.google.com/p/v8-wiki/wiki/V8Profiler but I'm afraid that it is not up-to-date. I could find no functions named V8::ResumeProfiler() or V8::Paus