Extension:NavigationTiming

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

Release status:Extension status beta

ImplementationTemplate:Extension#type Ajax, Database
DescriptionTemplate:Extension#description Logs perceived latency measurements from client-side
Author(s)Template:Extension#username Asher Feldman, Ori Livneh, Patrick Reilly
Latest versionTemplate:Extension#version 0.0.1 (2013-03-16)
MediaWikiTemplate:Extension#mediawiki 1.21+
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
README
ParametersTemplate:Extension#parameters
  • $wgNavigationTimingSamplingFactor
Hooks usedTemplate:Extension#hook
BeforePageDisplay
ResourceLoaderGetConfigVars

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

Check usage and version matrix.

Issues:

Open tasks · Report a bug

The NavigationTiming extension allows logging perceived latency measurements, exposed by browsers as part of the proposed W3C Navigation Timing, 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]