Upgrade to oik-bwtrace v3.3.1 to measure plugin load times and ad hoc action timing points.

Plugin load times
On Settings > oik action options select the Time plugin loading check box to enable the report in the trace output. The output is produced as a trace record at shutdown. View the CSV data as a chart or table.
Plugin | Load time (secs) | Accum |
---|---|---|
REQUEST_TIME_FLOAT | 0.000000 | 0.000000 |
WP_START_TIMESTAMP | 0.001876 | 0.001876 |
wp-content/mu-plugins/_oik-bwtrace-mu.php | 0.039529 | 0.041405 |
wp-content/mu-plugins/oik-unloader-mu.php | 0.000547 | 0.041952 |
muplugins_loaded | 0.000009 | 0.041961 |
wp-content/plugins/oik-bwtrace/oik-bwtrace.php | 0.003888 | 0.045849 |
wp-content/plugins/carousel-block/plugin.php | 0.000352 | 0.046201 |
wp-content/plugins/elementor/elementor.php | 0.006351 | 0.052552 |
wp-content/plugins/gbcptedit/gbcptedit.php | 0.000073 | 0.052625 |
wp-content/plugins/google-site-kit/google-site-kit.php | 0.015104 | 0.067729 |
wp-content/plugins/oik-bob-bing-wide/oik-bob-bing-wide.php | 0.000687 | 0.068416 |
wp-content/plugins/oik-fields/oik-fields.php | 0.000737 | 0.069153 |
wp-content/plugins/oik-patterns/oik-patterns.php | 0.000128 | 0.069281 |
wp-content/plugins/oik-types/oik-types.php | 0.000957 | 0.070238 |
wp-content/plugins/oik-unloader/oik-unloader.php | 0.000153 | 0.070391 |
wp-content/plugins/oik/oik.php | 0.001590 | 0.071981 |
wp-content/plugins/sg-cachepress/sg-cachepress.php | 0.039670 | 0.111651 |
wp-content/plugins/simple-owl-carousel/simple-owl-carousel.php | 0.002438 | 0.114089 |
wp-content/plugins/slog/slog.php | 0.000450 | 0.114539 |
wp-content/plugins/nextgen-gallery/nggallery.php | 0.112767 | 0.227306 |
plugins_loaded | 0.000559 | 0.227865 |
Action timing points
Action timing points report the first time that hooked into actions are invoked. View the CSV data as a chart or table. Use the Action timing points field to define ad hoc hooks for action hooks or filters which are invoked but not hooked into.
Note: The timing is the start of the hook not the end.
Changes
oik-bwtrace v3.3.1 includes changes for v3.3.0.
Change | Reference |
---|---|
Changed: Correct plugin load time heading | bobbingwide/oik-bwtrace#87 |
Changed: Reconcile shared library file change | |
Added: Action timing points showing the first invocation of relevant hooks | bobbingwide/oik-bwtrace#87 |
Added: Add Plugin load times | bobbingwide/oik-bwtrace#87 |
Added: Add trace_plugin_load option to control display of Plugin load times report | bobbingwide/oik-bwtrace#87 |
Changed: Set $timer_start to $_SERVER[‘REQUEST_TIME_FLOAT’] | bobbingwide/oik-bwtrace#87 |
Changed: Add end of life for PHP 8.1 | bobbingwide/oik-bwtrace#106 |
Tested with
- Tested: With WordPress 5.9.2 and WordPress Multi Site
- Tested: With PHP 8.0