This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

GenTime

Description

GenTime

This plugin shows you the time in seconds on how fast your page loads in the WordPress admin bar.

That’s it, pretty simple!

Installation

  1. Install GenTime either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Either Network Activate this plugin or activate it on a single site.
  3. That’s it!

Filters

Changes the minimum role for which the GenTime is shown:

add_filter( 'gentime_minimum_role', 'my_gentime_minimum_role' );
function my_gentime_minimum_role() {

    // See https://codex.wordpress.org/Roles_and_Capabilities for a list of role names
    $role = 'edit_pages'; // default: 'install_plugins'

    return $role;
}

Changes the number of decimals to output:

add_filter( 'gentime_decimals', 'my_gentime_decimals' );
function my_gentime_decimals() {
    $decimals = 4; // default: 3

    return $decimals;
}

Reviews

September 3, 2016
Useful for testing page load speed especially if you have many different page setups. Thanks!
September 3, 2016
I love Sybre's plugins. This one is soo simple, soo useful, no idea how this feature is not included in most seo or all-purpose plugins. Highly recommended for people dedicated to speed up their site!
Read all 2 reviews

Contributors & Developers

“GenTime” is open source software. The following people have contributed to this plugin.

Contributors

“GenTime” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “GenTime” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.4

  • Fixed: This plugin is now converted to UNIX line feed.
  • Improved: Early sanitation of translation strings.
  • Updated: POT file.
  • Confirmed: WordPress 4.6 support.
  • Other: The plugin license has been upgraded to GPLv3.
  • Other: Cleaned up code.

1.0.3

  • Fixed: The cache now works as intended.
  • Fixed/Improved: Erroneous order of function checking. Which actually had no impact.
  • Other: gentime_minimum_role filter now converts input to string.

1.0.2

  • Added: POT translation file.
  • Improved: Slightly improved performance (every Herz counts) by adding PHP runtime static cache earlier.
  • Confirmed: WordPress 4.5+ compatibility.
  • Cleaned up code.

1.0.1

  • Changed: Minimum capability from edit_plugins to install_plugins so that the generation time is still shown when the Editor has been disabled.
  • Added: PHP Staticvar caching for capability.
  • Confirmed: 4.4.0+ support.
  • Cleaned up PHP.

1.0.0

  • Initial Release