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]> 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 -~----------~----~----~----~------~----~------~--~---
