Image
Image

GenTime: Inspect page generation time

Descripción

GenTime

Este plugin muestra a los administradores del sitio el tiempo en segundos de cuán rápido carga la página en la barra de administración de WordPress.

The generation time is calculated from when the server receives the page request to when the number is printed, which is close to the end of the request.

So, just PHP and the database impact this calculation. The time it takes to send the page from the server to your device is not included in this timer.

¡Nada más, así de simple!

Instalación

  1. Instala GenTime o desde el directorio de plugins de WordPress.org o sube los archivos a tu servidor.
  2. Si activar este plugin para la red o activarlo en un solo sitio.
  3. ¡Eso es todo!

Change the number of decimals

Use this filter to change the number of decimals shown by the timer. The number defaults to 3, but this filter makes it 4.

add_filter( 'gentime_decimals', fn( $default = 3 ) => 4 );

(Where can I place filters?)

Change the view capability requirement

Add this to wp-config.php to change the user capability required to view the timer:

define( 'GENTIME_VIEW_CAPABILITY', 'manage_options' );

(List of capabilities)

Reseñas

Image
22 de diciembre de 2023
You just activate it and it works without the need for anything else.It couldn’t be simpler 😉 I liked it a lot
Image
4 de diciembre de 2023
Did that object cache have an effect on the back end? Did that PHP 8.2 upgrade change page generation times? Is the server currently bogged down, or am I just impatient? GenTime is so simple and yet so useful. By having basic page generation timer in the admin bar at all times, it really helps to qualify the website speed over time. Don’t underestimate the importance of backend speed. When managing WordPress websites all day, a few 100 ms at every click, makes a difference. GenTime is a stable on the sites I administer now. Highly recommended
Image
23 de julio de 2021
Doesn’t bog down the system and works as expected! Better than any other timing plugin I’ve used.
Image
3 de septiembre de 2016
Useful for testing page load speed especially if you have many different page setups. Thanks!
Leer todas las 7 reseñas

Colaboradores y desarrolladores

«GenTime: Inspect page generation time» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«GenTime: Inspect page generation time» está traducido en 4 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «GenTime: Inspect page generation time» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.0.0

  • Changed: The plugin has been rewritten to adhere to my latest coding standards — its old functions are no longer available.
  • Changed: This plugin now requires PHP 7.4, from PHP 5.2.
  • Changed: The default timer view capability now defaults to 'manage_options' instead of 'install_plugins'.
  • Removed: Filter 'gentime_minimum_role' is gone. Use constant GENTIME_VIEW_CAPABILITY instead.

1.1.0

  • Added: Now uses WordPress 5.8’s more accurate function, when available, timer_float().
  • Updated: Now uses HTML5 for the styles output.
  • Other: Refactored the plugin to support PHP 5.6 or later, from 5.2 or later.
  • Other: Cleaned up code.

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

  • Lanzamiento inicial