<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dev4Press&#187; average Tag Archives, page 1 of 1 | Dev4Press</title>
	<atom:link href="http://www.dev4press.com/tag/average/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dev4press.com</link>
	<description>Premium Plugins and Themes for WordPress</description>
	<lastBuildDate>Wed, 19 Jun 2013 16:31:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WordPress Benchmark: 3.0 vs 3.1 vs 3.2 vs 3.3</title>
		<link>http://www.dev4press.com/2011/blog/benchmark/wordpress-benchmark-3-0-vs-3-1-vs-3-2-vs-3-3/</link>
		<comments>http://www.dev4press.com/2011/blog/benchmark/wordpress-benchmark-3-0-vs-3-1-vs-3-2-vs-3-3/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 17:00:10 +0000</pubDate>
		<dc:creator>MillaN</dc:creator>
				<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[administration side]]></category>
		<category><![CDATA[anomaly]]></category>
		<category><![CDATA[average]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[cached data]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[client side]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[execution time]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[measurement]]></category>
		<category><![CDATA[measurements]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[new browser]]></category>
		<category><![CDATA[overall results]]></category>
		<category><![CDATA[php mysql]]></category>
		<category><![CDATA[press tools]]></category>
		<category><![CDATA[required]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server side]]></category>
		<category><![CDATA[Slow adoption rate]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[sql queries]]></category>
		<category><![CDATA[test environment]]></category>
		<category><![CDATA[test machine]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.dev4press.com/?p=11763</guid>
		<description><![CDATA[WordPress now has 4 versions in 3.x line. With slow adoption rate for previous two major versions, despite great 3.2 release, question is will the new WordPress 3.3 manage to persuade users to upgrade? This benchmark will try to give, at least, partial answer to that.]]></description>
				<content:encoded><![CDATA[<p>WordPress now has 4 versions in 3.x line. With slow adoption rate for previous two major versions, despite great 3.2 release, question is will the new WordPress 3.3 manage to persuade users to upgrade? This benchmark will try to give, at least, partial answer to that.</p>
<h3>WordPress Release Stats</h3>
<p>Before we get to test results, first thing is to see how this 4 version compare when it comes to size, number of files, hooks, requirements and few other things. Latest version is the version we used to test here.</p>
<table class="d4ptable">
<thead>
<tr>
<th></th>
<th>WP 3.0</th>
<th>WP 3.1</th>
<th>WP 3.2</th>
<th>WP 3.3</th>
</tr>
</thead>
<tbody>
<tr>
<th>Release Date</th>
<td>2010.06.16.</td>
<td>2011.02.23.</td>
<td>2011.07.04.</td>
<td>2011.12.12.</td>
</tr>
<tr>
<th>Latest Version</th>
<td><strong>3.0.6</strong><br />
2011.04.26.</td>
<td><strong>3.1.4</strong><br />
2011.06.29.</td>
<td><strong>3.2.1</strong><br />
2011.07.12.</td>
<td><strong>3.3.0</strong><br />
2011.12.12.</td>
</tr>
<tr>
<th>Archive Size</th>
<td>2.83MB</td>
<td>2.95MB</td>
<td>3.79MB</td>
<td>4.05MB</td>
</tr>
<tr>
<th>Unpacked Size</th>
<td>7.95MB</td>
<td>8.24MB</td>
<td>9.43MB</td>
<td>9.97MB</td>
</tr>
<tr>
<th>Number of Files</th>
<td>758</td>
<td>835</td>
<td>948</td>
<td>936</td>
</tr>
<tr>
<th>Number of Hooks</th>
<td>1344</td>
<td>1469</td>
<td>1506</td>
<td>~1580</td>
</tr>
<tr>
<th>Included jQuery</th>
<td>1.4.2</td>
<td>1.4.4</td>
<td>1.6.1</td>
<td>1.7.1</td>
</tr>
<tr>
<th>Included Themes</th>
<td>TwentyTen</td>
<td>TwentyTen</td>
<td>TwentyEleven<br />
TwentyTen</td>
<td>TwentyEleven<br />
TwentyTen</td>
</tr>
<tr>
<th>Required PHP</th>
<td>4.3</td>
<td>4.3</td>
<td>5.2.4</td>
<td>5.2.4</td>
</tr>
<tr>
<th>Required mySQL</th>
<td>4.1.2</td>
<td>4.1.2</td>
<td>5.0</td>
<td>5.0</td>
</tr>
</tbody>
</table>
<h3>Test Environment</h3>
<p>For tests I have used WordPress 3.0.4, WordPress 3.1.4, WordPress 3.2.1 and WordPress 3.3. Test machine is CentOS powered VPS server with PHP 5.3.3 and mySQL 5.5.14, with PHP memory limit set to 256MB. PHP runs with eAccelerator enabled. All WP installations used only GD Press Tools 4.3.1 Pro plugin, and all had exactly the same content. GD Press Tools Pro had all its security related features activated, and they add about 3 SQL queries per page, and these queries are counted in the results below. Since I run <strong><a href="http://www.dev4press.com/gd-press-tools/" target="_blank">GD Press Tools Pro</a></strong> as a part of all my WordPress installations, I think of it as logical and essential expansion of WordPress.</p>
<p>Each test for each WP version is repeated <strong>10</strong> times, highest and lowest results are removed, and the average is calculated from the rest of the measured values. Same method is used for server and client (browser) side. For client side measurements I have used Firefox 8.0, and before each measurement, all cached data was emptied. I use my faithful Lenovo IdeaPad Y560 with Intel Core i5 and 8GB RAM. Testing is done on 4 most used pages in WordPress: dashboard, posts list, post editor and comments list. Other pages are similar to these 4, and they will not show much difference in overall results.</p>
<p>If you compare results in this benchmark with previous one comparing 3.0 vs 3.1 vs 3.2, you will see that results for these 3 versions are now different. Difference comes from using latest versions of each WordPress, using differently configured server, and new browser. It is interesting to see how much faster is Firefox 8.0 over 5.0 used for old benchmark.</p>
<h3>Server Side Execution</h3>
<p>For client side I have measured 4 elements: used PHP memory to generate the page, number of SQL queries executed, time server needed to generate the page and number of hooks (both actions and filters) registered for execution. As with any version of WordPress, each new version uses more memory than previous one. But, while first 3 tested versions had number of executed SQL queries in decline, new WordPress 3.3 uses 4 to 9 queries per page more. Number of queries in the test includes 3-4 SQL queries executed by GD Press Tools Pro for security purposes, and it is the same for all 4 tested versions.</p>
<p>With all this, execution time on server-side for WordPress 3.3 is about 10%-15% higher than in earlier version. Number of hooks is expected to rise, just like the used memory. But again, there is a big jump with new WordPress. You can see all data on the charts below.</p>
<div id="attachment_12262" class="wp-caption aligncenter" style="width: 590px"><a href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_memory.png" rel="lightbox[11763]" title="Server Side: Used PHP Memory"><img class="size-large wp-image-12262" title="Server Side: Used PHP Memory" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_memory-580x348.png" alt="Server Side: Used PHP Memory" width="580" height="348" /></a><p class="wp-caption-text">Server Side: Used PHP Memory</p></div>
<div id="attachment_12069" class="wp-caption aligncenter" style="width: 590px"><a title="Server Side: Number of SQL Queries" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_sql.png" rel="lightbox"><img class="size-large wp-image-12069" title="Server Side: Number of SQL Queries" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_sql-580x348.png" alt="Server Side: Number of SQL Queries" width="580" height="348" /></a><p class="wp-caption-text">Server Side: Number of SQL Queries</p></div>
<div id="attachment_12070" class="wp-caption aligncenter" style="width: 590px"><a title="Server Side: Execution Time" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_time.png" rel="lightbox"><img class="size-large wp-image-12070" title="Server Side: Execution Time" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_time-580x348.png" alt="Server Side: Execution Time" width="580" height="348" /></a><p class="wp-caption-text">Server Side: Execution Time</p></div>
<div id="attachment_12261" class="wp-caption aligncenter" style="width: 590px"><a title="Server Side: Attached Hooks" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_hooks.png" rel="lightbox"><img class="size-large wp-image-12261" title="Server Side: Attached Hooks" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_hooks-580x348.png" alt="Server Side: Attached Hooks" width="580" height="348" /></a><p class="wp-caption-text">Server Side: Attached Hooks</p></div>
<p>What this mean? In terms of server performance WordPress 3.3 is a big step backward from WordPress 3.2. I am not going into analysis why this happened, or if it was really needed, but the fact is that new WordPress doesn&#8217;t add any feature that warrants such change on the server-side.</p>
<h3>Client Side Execution</h3>
<p>Pages generated by new WordPress are only a bit larger than before, and the same goes for JavaScript used. Interesting thing is that on post edit page new WordPress adds less JavaScript, all thanks to new editor and quick tags code. Hopefully, we will see more JavaScript improvements like this in next versions. But, execution time is another story, and overall, this new version is slower even than WordPress 3.1 in some cases. Similar results are with cached execution, and new WordPress on average is slowest in the 3.x line.</p>
<p>As before, Firefox even with latest stable version 8.0 is still slower than Opera 11.6 or Chrome 16/17. It is not as drastic difference as before, but with Opera or Chrome, pages are loading some 20%-30% faster.</p>
<div id="attachment_12156" class="wp-caption aligncenter" style="width: 590px"><a title="Client Side: Page Size" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_size.png" rel="lightbox"><img class="size-large wp-image-12156" title="Client Side: Page Size" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_size-580x348.png" alt="Client Side: Page Size" width="580" height="348" /></a><p class="wp-caption-text">Client Side: Page Size</p></div>
<div id="attachment_12155" class="wp-caption aligncenter" style="width: 590px"><a title="Client Side: JavaScript Size" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_js.png" rel="lightbox"><img class="size-large wp-image-12155" title="Client Side: JavaScript Size" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_js-580x348.png" alt="Client Side: JavaScript Size" width="580" height="348" /></a><p class="wp-caption-text">Client Side: JavaScript Size</p></div>
<div id="attachment_12157" class="wp-caption aligncenter" style="width: 590px"><a title="Client Side: Execution Time" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_time.png" rel="lightbox"><img class="size-large wp-image-12157" title="Client Side: Execution Time" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_time-580x348.png" alt="Client Side: Execution Time" width="580" height="348" /></a><p class="wp-caption-text">Client Side: Execution Time</p></div>
<div id="attachment_12200" class="wp-caption aligncenter" style="width: 590px"><a title="Client Side: Execution Time - Cached" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_cached.png" rel="lightbox"><img class="size-large wp-image-12200" title="Client Side: Execution Time - Cached" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_cached-580x348.png" alt="Client Side: Execution Time - Cached" width="580" height="348" /></a><p class="wp-caption-text">Client Side: Execution Time - Cached</p></div>
<p>What these results mean for end-user page loading? The difference is not big, we are talking about half a second slower execution. That is hardly noticeable, but it proves the conclusion from the server-side benchmark: new WordPress is slower than previous one, while in the same time you will not see why that is needed, what new features are so important to justify this performance drop.</p>
<h3>Overall performance index</h3>
<p>Last chart shows two interesting, overall comparison indexes. First one is for server-side performance, and other for client side. They take into account individual results for each test and each page. WordPress 3.0.6 is referent version for this test and results for it are normalized to 1.0 for all pages and tests. <strong>Lower value is better</strong>.</p>
<div id="attachment_12202" class="wp-caption aligncenter" style="width: 590px"><a title="Server Side: Speed Index" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_relative.png" rel="lightbox"><img class="size-large wp-image-12202" title="Server Side: Speed Index" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_serverside_relative-580x348.png" alt="Server Side: Speed Index" width="580" height="348" /></a><p class="wp-caption-text">Server Side: Speed Index</p></div>
<div id="attachment_12201" class="wp-caption aligncenter" style="width: 590px"><a title="Client Side: Speed Index" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_relative.png" rel="lightbox"><img class="size-large wp-image-12201" title="Client Side: Speed Index" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_clientside_relative-580x348.png" alt="Client Side: Speed Index" width="580" height="348" /></a><p class="wp-caption-text">Client Side: Speed Index</p></div>
<p>As you can see, speed index for each of the pages shows that WordPress 3.2.1 remains superior to new WordPress 3.3 in terms of performance. If we want to compare overall for client and server-side, look at the last chart bellow. Overall, WordPress 3.3.0 managed to cling to second place thanks to some of the improvements, like WP Editor API and some other JavaScript changes, but it is very close to WordPress 3.1.4 performance. WordPress 3.3 is some 7% on server-side, and (too) big 14% on the client side off from WP 3.2.1.</p>
<div id="attachment_12203" class="wp-caption aligncenter" style="width: 590px"><a title="Overall Speed Index" href="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_overall.png" rel="lightbox"><img class="size-large wp-image-12203" title="Overall Speed Index" src="http://cdn.dev4press.com/wp-content/uploads/2011/12/bench_wp30-31-32-33_overall-580x348.png" alt="Overall Speed Index" width="580" height="348" /></a><p class="wp-caption-text">Overall Speed Index</p></div>
<h3>Website front-end</h3>
<p>I didn&#8217;t test new WordPress on the front-end. From using it in the past few weeks while in Beta and RC, I didn&#8217;t noticed any changes. I imagine that using some of the permalinks structures will improve speed due to permalinks changes, but other than that all 4 WordPress versions in 3.x line have very similar performance on the front end.</p>
<h3>Conclusion</h3>
<p>I can&#8217;t end this benchmark on a positive note as I did back in <a href="http://www.dev4press.com/2011/blog/benchmark/wordpress-benchmark-3-0-vs-3-1-vs-3-2-part-1/" target="_blank">July for WordPress 3.2</a>. I can understand that WordPress is evolving and that new features can need more resources. But, in WordPress 3.2 six months ago, features and changes were followed by considerable optimization, and that resulted in faster WordPress. This time, we got no significant new features or improvements, apart from cosmetic ones (and some of them are questionable at best) and some changes that affected only some features (uploader and editor), and yet new WordPress is gone back a full year in terms of performance, and it is comparable to WP 3.1 or even WP 3.0 in some cases.</p>
<p>I am sure that some developers will say that these results are not important. I agree that half a second is not much in terms of speed and that most users will not even notice the difference, but it shows that current development of WordPress is not done right. Adding new features and sacrificing speed and resource usage is not a good way to go. Big part of the blame is on development cycle, that is targeting 2 major versions each year (well, we got whole 3 major versions this year alone). Because of that, testing and optimization is not high on priorities list, developers don&#8217;t have enough time for everything. Even now, 3.3 is about one month late from projected development roadmap.</p>
<p>I really hope that this new WordPress performance is a &#8216;glitch&#8217; in the development, and that next WordPress 3.4 will get it back on track. I also wish that WP 3.4 takes more time, and not to be rushed by May or June just for sake of having new WordPress. Lets have 9 to 12 months development cycles, and I am sure that released product will be better and more appealing to end users to get with faster upgrades.</p>
<p>For now, WordPress 3.2.1 is clear winner in terms of performance and resource usage between all 4 major releases in 3.x line.</p>
<hr />
<h4>Edit:</h4>
<p>Server side Memory and Hooks charts replaced with new ones where Y axis starts from 0.</p>
<script src="http://feeds.feedburner.com/~s/adsense@gdragon.info?i=http://www.dev4press.com/2011/blog/benchmark/wordpress-benchmark-3-0-vs-3-1-vs-3-2-vs-3-3/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.dev4press.com/2011/blog/benchmark/wordpress-benchmark-3-0-vs-3-1-vs-3-2-vs-3-3/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk: enhanced
Content Delivery Network via cdn.dev4press.com

 Served from: www.dev4press.com @ 2013-06-19 19:06:40 by W3 Total Cache -->