{"id":34250,"date":"2015-01-31T06:54:12","date_gmt":"2015-01-31T06:54:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/plugin-profiler\/"},"modified":"2015-02-20T05:43:28","modified_gmt":"2015-02-20T05:43:28","slug":"plugin-profiler","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/plugin-profiler\/","author":6655719,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"4.1.42","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Plugin Profiler","header_author":"Danny van Kooten","header_description":"","assets_banners_color":"589ad4","last_updated":"2015-02-20 05:43:28","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/dannyvankooten.com\/donate\/","header_plugin_uri":"","header_author_uri":"https:\/\/dannyvankooten.com","rating":3,"author_block_rating":0,"active_installs":10,"downloads":4494,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":2,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1079460","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1079460","resolution":"256x256","location":"assets"},"icon.svg":{"filename":"icon.svg","revision":"1079460","resolution":"","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1079460","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1079449","resolution":"1","location":"assets"}},"screenshots":{"1":"The plugin in action, profiling <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\">MailChimp for WordPress<\/a>."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6650,734,2391,6246],"plugin_category":[],"plugin_contributors":[77662],"plugin_business_model":[],"class_list":["post-34250","plugin","type-plugin","status-closed","hentry","plugin_tags-benchmark","plugin_tags-development","plugin_tags-plugins","plugin_tags-profiler","plugin_contributors-dvankooten","plugin_committers-dvankooten"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/plugin-profiler\/assets\/icon.svg?rev=1079460","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/plugin-profiler_589ad4.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/plugin-profiler\/assets\/screenshot-1.jpg?rev=1079449","caption":"The plugin in action, profiling <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\">MailChimp for WordPress<\/a>."}],"raw_content":"<!--section=description-->\n<p>Basic profiler for WordPress Plugins. Benchmarks any given plugin by testing response times with and without the plugin activated.<\/p>\n\n<blockquote>\n  <p><strong>Plugin Profiler<\/strong> is on GitHub.<\/p>\n  \n  <p>Bug reports (and pull requests) are welcomed on the <a href=\"https:\/\/github.com\/dannyvankooten\/wp-plugin-profiler\">Plugin Profiler GitHub repository<\/a>.<\/p>\n  \n  <p>Please note that GitHub is <em>not<\/em> a support forum.<\/p>\n<\/blockquote>\n\n<h4>Profiling a plugin<\/h4>\n\n<p>This plugin measures response times of any URL on your website in the following ways.<\/p>\n\n<ul>\n<li>No plugins activated<\/li>\n<li>Only the selected plugin(s) activated<\/li>\n<li>All but the selected plugin(s) activated<\/li>\n<li>All plugins activated<\/li>\n<\/ul>\n\n<p>It then plots the response times in a chart and calculates the average response time time difference.<\/p>\n\n<p>While this way of profiling a plugin is very low-tech it can be interesting to measure the impact of a plugin on your site's response time.\nPlease note that this way of benchmarking leaves a lot of factors out - like additional HTTP requests caused by a plugin, etc..<\/p>\n\n<h4>Installing Plugin Profiler<\/h4>\n\n<p>Since this plugin needs to filter out which plugins are activated for the profiling requests, it needs to be installed as a <strong>must-use plugin<\/strong> so it's loaded early.<\/p>\n\n<p>Have a look at the <a href=\"https:\/\/wordpress.org\/plugins\/plugin-profiler\/installation\/\">installation instructions<\/a> for details.<\/p>\n\n<p><strong>More information<\/strong><\/p>\n\n<ul>\n<li>Developers; follow or contribute to the <a href=\"https:\/\/github.com\/dannyvankooten\/wp-plugin-profiler\">Plugin Profiler plugin on GitHub<\/a><\/li>\n<li>Other <a href=\"https:\/\/dannyvankooten.com\/wordpress-plugins\/#utm_source=wp-plugin-repo&amp;utm_medium=link&amp;utm_campaign=more-info-link\">WordPress plugins<\/a> by <a href=\"https:\/\/dannyvankooten.com#utm_source=wp-plugin-repo&amp;utm_medium=link&amp;utm_campaign=more-info-link\">Danny van Kooten<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/dannyvankooten\">@DannyvanKooten<\/a> on Twitter<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Installing Plugin Profiler<\/h4>\n\n<ol>\n<li>In your WordPress admin panel, go to <em>Plugins &gt; New Plugin<\/em>, search for <strong>Plugin Profiler<\/strong> and click \"<em>Install now<\/em>\"<\/li>\n<li>Alternatively, download the plugin and upload the contents of <code>plugin-profiler.zip<\/code> to your plugins directory, which usually is <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li><p>Create the file <code>\/wp-content\/mu-plugins\/profiler.php<\/code> with the following contents.<\/p>\n\n<p>&lt;?php<\/p>\n\n<p>if( ! defined( 'ABSPATH' ) ) {\n    exit;\n}<\/p>\n\n<p>\/\/ load the plugin profiler plugin early\nrequire_once WP_PLUGIN_DIR . '\/plugin-profiler\/plugin-profiler.php';<\/p><\/li>\n<li><p>Go to <strong>Tools &gt; Plugin Profiler<\/strong>, set some configurations for the profile to run and have a look!<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I think I found a bug. What now?<\/dt>\n<dd><p>Please report it on <a href=\"https:\/\/github.com\/dannyvankooten\/wp-plugin-profiler\/issues\">GitHub issues<\/a> if it's not in the list of known issues.<\/p><\/dd>\n<dt>I have another question<\/dt>\n<dd><p>Please open a topic on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/plugin-profiler\">WordPress.org plugin support forums<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2 - February 20, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>JavaScript error for servers requiring case-sensitive file URL's.<\/li>\n<\/ul>\n\n<h4>1.1.1 - February 5, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Now marking request errors &amp; deviating requests in result details<\/li>\n<li>Better signature validating<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added results table showing all request details<\/li>\n<\/ul>\n\n<h4>1.1 - January 28, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Profiler now runs client-side.<\/li>\n<li>Results are shown in a bar chart, which updates live. (needs IE9+)<\/li>\n<li>Profiling can be paused &amp; resumed.<\/li>\n<li>Improved reliability of benchmark results.<\/li>\n<\/ul>\n\n<h4>1.0 - January 26, 2015<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Basic plugin profiler. Benchmarks response times with and without a given plugin activated.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34250"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dvankooten"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34250"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34250"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34250"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34250"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34250"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}