Reviewers: Søren Gjesse,

Description:
TickProcessor script reimplemented in JavaScript.

This is an effort to reuse profiler data processing code both in
TickProcessor and Dev Tools Profiler. The old Python implementation
will be removed.

The new TickProcessor works almost identical to the previous one.
However, it has some differences:

1. Not very useful "Call profile" section is replaced with a new
    WebKit-like "Bottom up (heavy) profile" which shows the most
    expensive functions together with their callers. I used it
    personally in order to find and remove bottlenecks in the
    tickprocessor script itself, and found it quite helpful.

2. Code entries with duplicate names (they occur for RegExes, stubs
    and sometimes for anonymous Function objects) are now distinguished
    by adding an occurence number inside curly brackets.

3. (Address -> code entry) mapping is more precise in boundary cases.

4. Windows version no more requires specifying .map file location.

5. Works faster.

Please review this at http://codereview.chromium.org/99054

Affected files:
   M test/mjsunit/tools/codemap.js
   A test/mjsunit/tools/consarray.js
   M test/mjsunit/tools/profile.js
   M test/mjsunit/tools/profileview.js
   M tools/codemap.js
   A tools/consarray.js
   A tools/linux-tick-processor
   M tools/profile.js
   M tools/profileview.js
   A tools/tickprocessor.js
   M tools/tickprocessor.py
   A tools/windows-tick-processor.bat



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to