To add to Eriks comment I also suggest that you try the newer JavaScript based tick processor instead of the Python based one. Use linux-tick-processor instead of linux-tick-processor.py. linux-tick-processor is a shell script which runs the developer shell (d8) with the JavaScript code to process the log file. /Søren
On Tue, May 26, 2009 at 13:47, Erik Corry <[email protected]> wrote: > > 2009/5/26 ondras <[email protected]>: > > > > Hi, > > > > I am a newbie to V8 profiler - I was not able to get it correctly > > running. Here is what I do and what I see: > > > > ond...@kapitan:~/svn/v8$ scons library=shared sample=shell && ./shell > > --prof -e "1+1" && tools/linux-tick-processor.py v8.log > > scons: Reading SConscript files ... > > scons: done reading SConscript files. > > scons: Building targets ... > > scons: `sample' is up to date. > > scons: done building targets. > > Statistical profiling result from v8.log, (12 ticks, 12 unaccounted, 0 > > excluded). > > > > [Unknown]: > > ticks total nonlib name > > 12 100.0% > > > > [Shared libraries]: > > ticks total nonlib name > > > > [JavaScript]: > > ticks total nonlib name > > > > [C++]: > > ticks total nonlib name > > > > [GC]: > > ticks total nonlib name > > 0 0.0% > > > > [Call profile]: > > total call path > > 12 100.0% <no call path information> > > > > > > However, the v8.log file looks okay - it has 554 lines of data. > > > > What am I doing wrong? > > Could it be that the program is running for too short a time? Perhaps > if you try a longer-running js script you will get some ticks that are > hitting something interesting. > > Check that the paths to the executables and libraries that are listed > in the beginning of the v8.log file match something that the > tick-processor script can read and interpret with the nm command. > > -- > Erik Corry, Software Engineer > Google Denmark ApS. CVR nr. 28 86 69 84 > c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018 > Copenhagen K, Denmark. > > > > --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
