Bug 1203427 (part 6) - Add link to MDN docs about TimerFirings logging. r=me.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 16 Sep 2015 21:49:24 -0700
changeset 297286 309502b3ea1f8d0e962d5158d0cf87c57bce85c3
parent 297285 e14ce8302fd779a1a39e2ed95d3016bc3319000d
child 297287 895c0969f99ed11c61bda11e390b5403a3e01874
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1203427
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1203427 (part 6) - Add link to MDN docs about TimerFirings logging. r=me. DONTBUILD because comment-only change.
xpcom/threads/nsTimerImpl.cpp
--- a/xpcom/threads/nsTimerImpl.cpp
+++ b/xpcom/threads/nsTimerImpl.cpp
@@ -72,16 +72,19 @@ GetTimerLog()
 // If you redirect this output to a file called "out", you can then
 // post-process it with a command something like the following.
 //
 //   cat out | grep timer | sort | uniq -c | sort -r -n
 //
 // This will show how often each unique line appears, with the most common ones
 // first.
 //
+// More detailed docs are here:
+// https://developer.mozilla.org/en-US/docs/Mozilla/Performance/TimerFirings_logging
+//
 PRLogModuleInfo*
 GetTimerFiringsLog()
 {
   static PRLogModuleInfo* sLog;
   if (!sLog) {
     sLog = PR_NewLogModule("TimerFirings");
   }
   return sLog;