Closed Bug 506714 Opened 15 years ago Closed 15 years ago

trace tree visualizer

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: dvander, Assigned: dvander)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(2 files, 1 obsolete file)

Attached patch treevis (obsolete) — Splinter Review
This is a little python script that eats some new debug spew and spits out a DOT file. I made it for seeing why recursion wasn't compiling correctly in some files. It draws some boxes/circles/lines that try show all traces and guards and how they connect together.

Example of output:
http://users.alliedmods.net/~dvander/fibonacci.png
What's the input for that example Fibonacci output?

/be
function fib(n) {
    if (n < 2){ return 1; }
    return fib(n-2) + fib(n-1);
}

print(fib(22));
Attached patch latest versionSplinter Review
Would like to get this out of my queue so I can stop rebasing it :)
Assignee: general → dvander
Attachment #390864 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #395189 - Flags: review?(gal)
Attachment #395189 - Flags: review?(gal) → review+
Attachment #395875 - Flags: review? → review?(nnethercote)
http://hg.mozilla.org/mozilla-central/rev/427326d92dfb
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: