Closed
Bug 633023
Opened 15 years ago
Closed 15 years ago
xpcshell needs -p (enable profiling)
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jruderman)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
744 bytes,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
Based on the patch for bug 603558.
I don't know how to test that this actually works. Are there any known profiling bugs I could try to trigger in xpcshell with this patch?
To see if it works, set the environment variable TMFLAGS=profiler. The run a script like this:
for (var i=0; i<100; i++) print(i);
You should get some output from the profiler if you run with -m -j -p.
Assignee | ||
Comment 2•15 years ago
|
||
Yep, that worked :) It prints some extra stuff around iteration 60 with -p, but not without -p.
TMFLAGS=profiler ~/tracemonkey/debug-obj/dist/bin/xpcshell -j -m -p -e "for (var i=0; i<100; i++) print(i);"
Assignee | ||
Updated•15 years ago
|
Attachment #511220 -
Flags: review?(wmccloskey)
Attachment #511220 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → jruderman
Assignee | ||
Comment 3•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•15 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/51cecc00aa12
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•