GenTime: Inspect page generation time

설명

GenTime

This plugin shows site administrators the time in seconds of how fast the page loaded in the WordPress admin bar.

That’s it, pretty simple!

설치

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

필터

Changes the minimum role for which the GenTime is shown:

add_filter( 'gentime_minimum_role', 'my_gentime_minimum_role' );
function my_gentime_minimum_role( $default = 'install_plugins' ) {

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

    return $role;
}

Changes the number of decimals to output:

add_filter( 'gentime_decimals', 'my_gentime_decimals' );
function my_gentime_decimals( $default = 3 ) {
    return 4;
}

후기

2023년 12월 22일
You just activate it and it works without the need for anything else.It couldn't be simpler 😉 I liked it a lot
2023년 12월 4일
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
2021년 7월 23일
Doesn't bog down the system and works as expected! Better than any other timing plugin I've used.
2016년 9월 3일
Useful for testing page load speed especially if you have many different page setups. Thanks!
2016년 9월 3일 1 reply
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!
모든 4 평가 읽기

기여자 & 개발자

“GenTime: Inspect page generation time”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“GenTime: Inspect page generation time”(이)가 3(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “GenTime: Inspect page generation time”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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

  • 초기 릴리즈