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

Release status: beta

Implementation Ajax, Database
Description Logs perceived latency measurements from client-side
Author(s) Asher Feldman, Ori Livneh, Patrick Reilly
Latest version 0.0.1 (2013-03-16)
MediaWiki 1.21+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
  • $wgNavigationTimingSamplingFactor
Hooks used

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

Check usage and version matrix; code metrics


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]