Created attachment 8472018 [details] example of neat log excerpts that are interesting IndexedDB currently has some amazing profiler helpers that generate markers that get attached to sampled frames. This is an amazing resource for investigating performance issues, although needing to rebuild Gecko to get to them is problematic. It would be handy for the printf debugging and fancy logging crowds to be able to leverage this bounty of information as well. I've attached some examples of what the ProfilerHelpers information looks like when directed to logcat. Note that the Gaia email app's own logs are interleaved to show having all of that data interleaved is awesome. (Note that the email app uses dump() for logging, not console.log() which is subject to timer-driven batching which will screw up the interleaving.)
Created attachment 8472019 [details] [diff] [review] Horrible hack patch to enable the helpers but send the data direct to logcat and break the profiler support Not remotely suitable for consideration or landing, but useful for people to apply who want them some logcat.
Created attachment 8472020 [details] [diff] [review] Horrible hack patch to enable the helpers but send the data direct to logcat and break the profiler support Whoops, that patch had graphics debugging stuff in it too.