From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png

Release status:Extension status stable

ImplementationTemplate:Extension#type Ajax
DescriptionTemplate:Extension#description Logs perceived latency measurements from client-side
Author(s)Template:Extension#username Timo Tijhof, Asher Feldman, Ori Livneh, Patrick Reilly
MediaWikiTemplate:Extension#mediawiki 1.21+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
  • $wgNavigationTimingSamplingFactor
Hooks usedTemplate:Extension#hook

Translate the NavigationTiming extension if it is available at translatewiki.net

Check usage and version matrix.


Open tasks · Report a bug

The NavigationTiming extension allows logging perceived latency measurements, exposed by browsers as part of the W3C Navigation Timing spec, which "defines an interface for web applications to access timing information related to navigation and elements".

What data is logged?[edit]

How is the information used?[edit]

Engineers at Wikimedia Foundation intend to use this data to assess the impact (positive and negative) of changes to code or server configuration, and thus to help guide ongoing work on site performance.

Sample configuration[edit]

require_once "$IP/extensions/EventLogging/EventLogging.php"; // required dependency
require_once "$IP/extensions/NavigationTiming/NavigationTiming.php";
$wgNavigationTimingSamplingFactor = 10000;  // log 1:10,000 requests.

Additional resources[edit]