Code Profiler Pro
PluginRegistro de cambios 27
Todos los lanzamientos, del más reciente al más antiguo, tal como el proveedor los publicó en el registro de cambios del plugin.
1.6.8
Mejorado Corregido Aún no disponible- Fixed an issue in the theme switcher where, in some cases, a child theme could throw an error because the wrong stylesheet was loaded.
- Improved the parsing of the backtrace when attempting to find which plugin or theme initiated a remote connection.
1.6.7
Mejorado Aún no disponible- If you want to profile different themes, you can now select which theme to load when the profiler is running.
- Updated ChartJS.
1.6.6
Mejorado Aún no disponible- You can now profile JSON-encoded payloads: In the profiler's main page, click the "Advanced Options" button, then select "HTTP Method > POST > Content-type > application/json".
- The Accuracy/precision level is now displayed in the tooltip when viewing a profile.
- Performance and memory optimization.
- [Pro version] : In the "Methods and Functions Performance" section "{main}" is now replaced with the corresponding include/require function (e.g., {include_once} , {require} etc).
- [Pro version] : 2 new columns were added to the "File I/O List": Status and Resource id. The former will display if the file was closed or not, which could be helpful to detect plugins or themes that open files but don't close them before exiting, the latter the ID of that resource.
- [Free version]: The directory were the profiler stores its logs can be user-defined, by adding the
CODE_PROFILER_UPLOAD_DIRconstant to your wp-config.php (e.g.,define('CODE_PROFILER_UPLOAD_DIR', '/full/path/to/folder');. - [Pro version]: The directory were the profiler stores its logs can be user-defined, by adding the
CODE_PROFILER_PRO_UPLOAD_DIRconstant to your wp-config.php (e.g.,define('CODE_PROFILER_PRO_UPLOAD_DIR', '/full/path/to/folder');. - Several small fixes and adjustments.
1.6.5
Mejorado Corregido Aún no disponible- Updated Charts.js libraries.
- Fixed potential PHP error when calling number_format function.
- Small fixes and adjustments.
1.6.4
Nuevo Mejorado Aún no disponible- Added the possibility to send custom HTTP headers when profiling a site. See "Advanced Options > HTTP headers" in the profiler's main page.
- Several small fixes and adjustments.
- Updated Charts.js libraries.
1.6.3
Aún no disponible- A new option was added to tweak the size of the memory buffer used by the profiler. It can be found in "Settings > Buffer size".
- The profiler will disable the PHP display_errors directive so that potential notice, warning and error messages won't mess up with the AJAX response.
- Small fixes and adjustments.
1.6.2
Mejorado Corregido Aún no disponible- Fixed an issue where the execution time in the "Plugins & Theme Performance" section did not include any occurred remote connection.
- Updated Charts.js libraries.
- Updated FAQ and Help sections.
- Small fixes and adjustments.
1.6.1
Nuevo Aún no disponible- Added a hook to prevent a timeout if a plugin changed cURL timeout options (props @davidbawiec).
- Several small fixes and adjustments.
1.6
Mejorado Aún no disponible- [Pro version]: We added a new section: Remote Connections. It shows all HTTP connections originating from your WordPress website and includes the URL, the HTTP status code, the duration and, as usual, a full backtrace.
- Updated browser's signatures.
- Updated Charts.js libraries.
- Small fixes and adjustments.
1.5.5
Nuevo Mejorado Aún no disponible- Improved the system information report.
- [Pro version] : When viewing a file, its name will be displayed in the title bar of the browser.
- The log will be automatically deleted when it reaches 100KB.
- Added a "Debug" checkbox below the log that can be used to increase its verbosity.
- Updated Charts.js libraries.
- Added a warning if the WordPress MU folder is not writable.
- Several small fixes and adjustments.
1.5.4
Corregido Aún no disponible- Fixed a potential "404 Not Found" HTTP error when the site home page is different from the WordPress installation directory.
1.5.3
Mejorado Aún no disponible- It is possible to edit the name of a profile by clicking the "Quick Edit" row action link below its name in the profiles list.
- Updated Charts.js libraries.
- Small fixes and adjustments.
1.5.2
Nuevo Mejorado Aún no disponible- Added screen reader accessibility to all 3 graphs (Plugins and Theme, File I/O, Disk I/O).
- The timeout of the profiler's process was increased from 180 to 300 seconds.
- [Pro version] : Fixed a bug where the file viewer couldn't locate a function in a script if there was a namespace declared, because it was looking for a method instead of a function.
- Updated Charts.js libraries.
- Small fixes and adjustments.
1.5.1
Mejorado Aún no disponible- [Pro version] : The profiler can display a full backtrace for each caller function. That option can be enabled in "Settings > Methods & Functions > Generate a PHP backtrace for each caller function".
- Compatibility with PHP 8.2.
- Improved anonymous functions detection.
- Updated Charts.js libraries.
- [Pro version] : Updated Code Mirror libraries.
- Small fixes and adjustments.
1.5
Nuevo Mejorado Aún no disponible- You can select the accuracy and precision level of the profiler. If you have a slow WordPress site with a lot of plugins installed and your server or reverse proxy is timing out when Code Profiler is running, you can lower the accuracy level in order to speed up the profiling process and avoid the server timeout. This option can be found in the "Settings" tab.
- [Free version] : Similarly to the Pro version, the profiler will display a warning below the "Plugins and Themes Performance" chart if it detects that multiple plugins are using Composer dependency manager.
- Added reverse proxy/CDN detection to the system information report.
- Updated Charts.js libraries.
- [Pro version] : Updated Code Mirror libraries.
- Updated the user-agent signatures.
- Small fixes and adjustments.
1.4.4
Corregido Aún no disponible- Mu-plugins are now processed by the profiler. They will have the "MU" abbreviation displayed beside their name on all graphs and tables.
- We added a new "Support" tab in the profiler's page that displays a system information report. When contacting the support for help, please copy and paste it in your ticket.
- [Pro version] : Code Profiler will temporarily disable any "wp-content/db.php" script found on your site to prevent it from interfering with the profiler and database queries. That option can be changed in the "Settings" page.
- Fixed a potential "Serialization of Closure is not allowed" PHP error.
- Small fixes and adjustments.
1.4.3
Mejorado Aún no disponible- When running the profiler as an authenticated user, you can now enter the name of that user.
- [Pro version] : Fixed a bug in the "File I/O List" section where files located outside the ABSPATH had their name truncated.
- Updated Charts.js libraries.
- [Pro version] : Updated Code Mirror libraries.
- Small fixes and adjustments.
1.4.2
Nuevo Mejorado Aún no disponible- The profiler will memorize the settings used for the last profile.
- In the "Profiles List" section, the "Filter" input field will also apply to the profiles name.
- Added Edge browser to the user-agent signatures list box.
- [Pro version]: You can export the list of profiles. Click on the "Download as a CSV file" button below the table in the "Profiles List" section.
- Updated Charts.js libraries.
- [Pro version]: Updated Code Mirror libraries.
- Small fixes and adjustments.
1.4.1
Nuevo Aún no disponible- Added an "Advanced Options" button in the profiler's main page that allows you to select the HTTP method (GET or POST), send a POST payload as well as custom cookies. Those features are helpful if, for instance, you want to profile a contact form, a checkout process or an AJAX action etc.
- Small fixes and adjustments.
- [Pro version]: Updated Code Mirror libraries.
1.4
Mejorado Corregido Aún no disponible- [Pro version]: We added a new section: "Database queries performances". It shows all database queries for the plugins and the theme, their processing time and a backtrace that lists the scripts and function calls that lead to the query.
- [Pro version]: All "Name" columns were renamed to "Component".
- Fixed an issue in the "Plugins and Theme" graph where special characters were wrongly replaced with their HTML entities.
- WP-CLI: Fixed an issue where all error and warning messages were json-encoded.
- The cURL timeout was increased from 90 to 180 seconds.
- Updated Charts.js libraries.
- [Pro version]: Updated Code Mirror libraries.
- Small fixes and adjustments.
1.3.1
Corregido Aún no disponible- Fixed some bugs with right-to-left (RTL) WordPress sites: the tooltip in the profiler main page and the checkboxes below the log were all messed up.
- By default, the profiler will always abort and throw an error if the server didn't return a "200 OK" HTTP status code. You can change that behaviour in the "Settings" section if the page you are profiling needs to return a different code (3xx, 4xx or 5xx).
- WP-CLI: Added support for HTTP basic authentication with the
--uand--pparameters. Runwp code-profiler-pro helpfor more details. - WP-CLI: Added support for WordPress user authentication with the
--userparameter. Runwp code-profiler-pro helpfor more details. - [Pro version]: WP-CLI: You can now profile any page/post with the
--destparameter. Runwp code-profiler-pro helpfor more details. - When disabling the plugin, it will delete its MU plugin.
- The list of posts has been removed from the dropdown menu. To profile a post, please use the new "Custom post" input field that was introduced in v1.2.
- [Pro version]: Fixed a bug in the "Method & Function" table where the action links were not working on smartphones because of a wrong value used for the colspan attribute.
- [Pro version] : Replaced strcmp() with strnatcmp() to sort some table columns with a "natural order" algorithm.
- You can exclude a plugin during the profiling by using the "Freesoul Deactivate Plugins" plugin available in the WordPress.org repo. See "Is it possible to exclude a plugin during the profiling?" in the "FAQ" section.
- Small fixes and adjustments.
1.3
Corregido Aún no disponible- The "Profiles List" table has now 5 new sortable columns that will display several important metrics: "Items" (number of plugins + the current theme), "Time" (execution time in seconds), "Memory" (peak memory in megabytes), "File I/O" (sum of all file I/O operations) and "SQL" (number of database queries). Note that those metrics will be displayed on profiles created with this new version of Code Profiler, not on older profiles. The same metrics can be seen on each profile's page (click on the tooltip beside the profile's name) and also when running the profiler from the WP-CLI command line tool.
- [Pro version] : The "Methods & Functions Performance" section now shows all callers of a function. Clicking on the "View Call" action link opens a new row with the list of callers and, for each one, the full path and line number.
- [Pro version] : Fixed a bug in the "File I/O List" section where it was not possible to open a renamed file in the file viewer.
- [Pro version] : It's possible to enter your license from WP-CLI command line (
wp code-profiler-pro license). - Fixed a bug where temporary files were not deleted after an HTTP error.
- Fixed a bug where the columns sorting order was not remembered after deleting a profile in the "Profiles List" table.
- Small fixes and adjustments.
1.2
Nuevo Aún no disponible- Added the possibility to profile custom post types and custom URI.
- Added support for HTTP Basic authentication. If you're running Code Profiler on a staging site that is password protected, the profiler should automatically detect it.
- Added an option to disable WordPress WP-Cron when running the profiler. This option will prevent WP-Cron to run scheduled tasks in the background that could affect the results of the profiler. It is enabled by default.
- Small fixes and adjustments.
1.1.1
Corregido Aún no disponible- Fixed a potential error when running the profiler.
1.1
Nuevo Mejorado Aún no disponible- Added support for WP-CLI: you can run the profiler from a terminal. Enter
wp code-profiler-pro helpto display the available command line options. WP-CLI integration can be turned on/off in the plugin "Settings" page. - Updated Chart.js library.
- [Pro version]: Updated Codemirror libraries.
- Small fixes and adjustments.
1.0.1
Nuevo Aún no disponible- Added compatibility with blogs that have permalinks disabled (e.g.,
?page_id=1or?p=1). - Added compatibility with child pages (e.g.,
/foo/bar/). - Added some extra HTTP headers to prevent aggressive caching.
1.0
Nuevo Aún no disponible- Initial release.