On 9/12/14 5:57 AM, Tim Chien wrote:
Hi all,

I couldn't help but did some block box testing myself to measure the
speed of console.log().

I have put the result on
https://bugzilla.mozilla.org/show_bug.cgi?id=1066581

From perspective of Gaia, I think we should be allow to use console
API methods once this bug is fixed.


Thanks for looking into this! So are you saying that the non-devtools numbers are good enough? If that's the case we probably don't even need to block on bug 1066581 and can recommend using console logging now.

For the non-devtools case I have confirmed that console messages are output to logcat and have a few bugs fixed/filed for enhancements:
  - Log category should be process name (instead of GeckoConsole) [1]
  - Log level should match the console method invoked (currently
    everything is logged at the error level) [2]
  - console.error,assert,trace should include a stack trace [3]

-e

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1059593
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1060171
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1060161
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to