Extension:NavigationTiming/dtp

Category:GPL licensed extensions/dtp
MediaWiki extensions manual
NavigationTiming
Release status: stableCategory:Stable extensions/dtp
Implementation AjaxCategory:Ajax extensions/dtp
Description Logs perceived latency measurements from client-side
Author(s) Patrick Reilly, Ori Livneh, Asher Feldman, Timo Tijhof, Ian Marlier
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control/dtp
README
  • $wgNavigationTimingSamplingFactor
  • $wgNavigationTimingCpuBenchmarkSamplingFactor
Translate the NavigationTiming extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions/dtp

The NavigationTiming extension measures perceived latency in browsers. The extension is named after the W3C Navigation Timing API in web browsers, but today collects metrics from several different browser APIs.

FAQ

Skop

Lolombus dii monimung kopoilaan do aiso ngaran mantad pomitanan kopokitanan bolikan. Kopomogunaan koleksi JavaScript om mantad dii abatod so bolikankopokitanan diiː

  1. are from a modern browser, as defined by the Grade A capability check (90%+ of traffic).
  2. have the Navigation Timing API, (98% of browser traffic in 2022, 95% in Nov 2017[1])
  3. reach the "page loaded" event (99%+ of page loads).
  4. are in the random sample (configurable).

How is the information used?

Infrastructure for navtiming at WMF.

Engineers at Wikimedia Foundation intend to use this data to assess the impact (positive and negative) of changes to application code and server configuration. Thus guiding on-going work on site performance.

Dependencies

Installation

  • Download om powili'o file(s) dii id direktori kingaran NavigationTiming id suang folder extensions/ nu.
    Momomoburu om mongunguhup kod minog do papadakat do lolombus from Git suai ko, momoguno:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NavigationTiming
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NavigationTiming' );
    $wgNavigationTimingSamplingFactor = 1;  // 100% (1 of every 1)
    
  • Yes DoneNavigate to Special:Version on your wiki to verify that the extension is successfully installed.

Further reading

About the data we collect:

About the Navigation Timing API in web browsers:

Code stewardship

Footnotes

Category:Extensions used on Wikimedia/dtp#NavigationTiming/dtp
Category:Ajax extensions/dtp Category:All extensions/dtp Category:BeforePageDisplay extensions/dtp Category:Extensions in Wikimedia version control/dtp Category:Extensions used on Wikimedia/dtp Category:GPL licensed extensions/dtp Category:Stable extensions/dtp