hello

I have ran D8 with args as follow:

----------------------------
./d8 --prof test.js
----------------------------

I get "v8.log", and run "tools/linux-tick-processor.py", but I only get the 
result about CPU Profile.

How can I get more infomation? I am  interested in the Heap Profile?

Please help me. Thank you very much!

On Tuesday, March 31, 2009 3:45:10 PM UTC+8, Søren Gjesse wrote:
>
> Hi,
>
> Normally the profiling and logging is turned on when compiling V8 (default 
> in both the SCons and Visual Studio builds). However to generate any log 
> messages V8 requires some options. To use the built-in profiler pass option 
> --prof to V8,
>
> $ ./shell --prof
>
> This produces the v8.log file which can be processed using 
> tools/linux-tick-processor.py or tools/windows-tick-processor.py. For 
> Windows a map file from the linker is required for this and can be produced 
> by adding the prof=on option to the SCons build.
>
> See http://code.google.com/p/v8/wiki/V8Profiler which also contains an 
> example output from the tick processor.
>
> There are a number of other logging options which can be listed using 
> ./shell --help. However it is only for the profiling part that some 
> processing is currently available.
>
> Regards,
> Søren
>
> On Mon, Mar 30, 2009 at 19:56, MJ <[email protected] <javascript:>> wrote:
>
>>
>> Hello,
>>
>> Has anyone tried compiling V8 in debug with all the logging and
>> profiling turned on and used the heap statistics, profiling and GC
>> tracer? I am trying to figure out how to get to these pieces of the
>> heap, but since the heap is an internal class there is no access. Or
>> does it by default print all these metrics out in debug mode with the
>> flags turned on?
>>
>>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to