https://bugzilla.wikimedia.org/show_bug.cgi?id=62768

            Bug ID: 62768
           Summary: CirrusSearch should embed performance data in the page
                    output
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: enhancement
          Priority: Unprioritized
         Component: CirrusSearch
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: o...@wikimedia.org
                CC: dga...@wikimedia.org, innocentkil...@gmail.com,
                    neverett+bugzi...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

To facilitate client-side reporting of RUM, CirrusSearch should embed relevant
performance data in the page output.

This could be done by defining a MakeGlobalVariablesScript hook handler, or by
adding a call to $out->addJsConfigVars() in
CirrusSearch\Hooks::specialSearchResultsPrependHook.

(Please don't use <!-- comments -->; having to parse the data from a comment
node sucks.)

As to what data should be sent: Navigation Timing data will tell us the total
time it took the user's browser to retrieve and render the search result page,
so what we want are figures that can tell us the portion of that time that was
taken up by Cirrus. If you want to be very granular, and provide timing data
for different parts of the total request processing time, that's fine too.

Please use milliseconds as the unit; fractional milliseconds are OK if you want
finer resolution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to