Closed Bug 633023 Opened 9 years ago Closed 9 years ago
xpcshell needs -p (enable profiling)
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.
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);"
Attachment #511220 - Flags: review?(wmccloskey) → review+
cdleary-bot mozilla-central merge info: http://hg.mozilla.org/mozilla-central/rev/51cecc00aa12
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.