<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Jun 2013 07:33:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPClasses.org: Can .NET make PHP run faster than the official PHP implementation?]]></title>
      <guid>http://www.phpdeveloper.org/news/17263</guid>
      <link>http://www.phpdeveloper.org/news/17263</link>
      <description><![CDATA[<p>
On the PHPClasses blog today the question is posed "<a href="http://www.phpclasses.org/blog/post/168-Can-NET-make-PHP-run-faster-than-the-official-PHP-implementation.html">can .NET make PHP run faster than the official PHP implementation?</a>" (relating to the use of the <a href="http://www.php-compiler.net/">Phalanger</a> tool to compile PHP down to .NET assemblies.
</p>
<blockquote>
Recently Phalanger 3.0 was released introducing numerous improvements in terms of compatibility with the PHP 5.3, interoperability with .NET platform implementations including Mono on Linux, and probably most importantly performance improvements. [...] What motivated this article was that a PHP developer named Rasmus Schultz went on the php.internals mailing list and <a href="http://marc.info/?l=php-internals&m=132338706602251&w=2">proposed</a> to switch the official PHP implementation based on Zend for another based on Phalanger.
</blockquote>
<p>
<a href="http://www.phpclasses.org/blog/post/168-Can-NET-make-PHP-run-faster-than-the-official-PHP-implementation.html">The post</a> includes some benchmarking results of requests made to a WordPress instance running on various PHP platforms. The Phalanger version came in around <a href="http://www.php-compiler.net/wp-content/uploads/2011/08/wordpress-phalanger-201109-performance.png">2 seconds faster</a> (average, obviously) than the PHP FastCGI setup. Also included are two suggestions for future PHP versions (v6 anyone?) that could help the language perform even better: Thread-safety for running with less memory waste and the inclusion of a JIT (Just in time compiler - of which a few are mentioned specifically.
</p>]]></description>
      <pubDate>Thu, 15 Dec 2011 09:03:31 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin van Zonneveld's Blog: Revisiting Faster PHP Sessions]]></title>
      <guid>http://www.phpdeveloper.org/news/16306</guid>
      <link>http://www.phpdeveloper.org/news/16306</link>
      <description><![CDATA[<p>
<i>Kevin van Zonneveld</i> has a new post to his blog revising an older post talking about session management with PHP and how limit the resources needed by them. In <a href="http://kevin.vanzonneveld.net/techblog/article/faster_php_sessions/">this post</a> he points out another method - holding the sessions in RAM rather than on disk.
</p>
<blockquote>
sing 2007 article <a href="http://kevin.vanzonneveld.net/techblog/article/create_turbocharged_storage_using_tmpfs/">Create turbocharged storage using tmpfs</a>, we can defeat some of this over-engineering and take a simpler approach to speeding up sessions in PHP. We'll store them decentralized in memory by mounting RAM onto the existing /var/lib/php5 session directories throughout your application servers, which I will call nodes from now on.
</blockquote>
<p>
He includes the commands you'll need to make a directory live in the RAM of your machine and how to migrate the existing sessions to this new data store. He covers some of the advantages of this approach (including that there's "less tech" involved so it's easier to manage). There is one point of failure he points out - that it wouldn't be a solution you could use for websites that might need to bridge sessions across machines.
</p>]]></description>
      <pubDate>Fri, 06 May 2011 10:49:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Java PHP Python -- Which is "Faster In General"?]]></title>
      <guid>http://www.phpdeveloper.org/news/15704</guid>
      <link>http://www.phpdeveloper.org/news/15704</link>
      <description><![CDATA[<p>
On the Java DZone.com section today there's a <a href="http://java.dzone.com/news/java-php-python-which-faster">"which is faster"</a> post comparing PHP, Java and Python. No, it's not quite what you're expecting - I'd suggest reading on.
</p>
<blockquote>
Sigh. What a difficult question. There are numerous incarnations on StackOverflow. All nearly unanswerable. The worst part is questions where they add the "in general" qualifier. Which is "faster in general" is essentially impossible to answer. And yet, the question persists. There are three rules for figuring out which is faster. And there are three significant problems that make these rules inescapable.
</blockquote>
<p>His three rules are:</p>
<ul>
<li>Languages don't have speeds. Implementations have speeds.
<li>Statistics Aren't a Panacea.
<li>Benchmarking Is Hard.
</ul>
<p>
He seems to hit most of the issues with these sort of "faster" posts up front and notes that, while benchmarks can be run on a lot of different aspects about the languages, the results depend on how you slice it. His suggestion is, instead, to not try to compare the languages in a grand sense. Take each of them and compare them on specific tasks and let those results stand alone. Each of the three languages is going to be better at something than the other two.
</p>]]></description>
      <pubDate>Fri, 07 Jan 2011 12:17:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Holmes' Blog: Making PHP faster on IIS]]></title>
      <guid>http://www.phpdeveloper.org/news/14313</guid>
      <link>http://www.phpdeveloper.org/news/14313</link>
      <description><![CDATA[<p>
<i>Josh Holmes</i> (a Microsoft Evangelist) recently gave a presentation about getting PHP applications, specifically <a href="http://wordpress.org">WordPress</a> to work better on a Windows-based platform (whether it be running on a physical server or something like Azure).
</p>
<blockquote>
I talked about the amazing improvements in FastCGI over the past few years, the Web Application Gallery and Web Platform Installer (WebPI), URL Redirect, WinCache and many other things that Microsoft is doing to embrace open source technologies.
</blockquote>
<p>
The slides for the talk are <a href="http://www.slideshare.net/joshholmes/wordpress-on-windows">over on Slideshare</a> but if you want something a little more engaging, check out <a href="https://www2.gotomeeting.com/register/500491419">the webcast from php|architect</a> this coming Friday (April 9th) by <i>Mark Brown</i> and <i>Ruslan Yakushev</i> on the same subject.
</p>]]></description>
      <pubDate>Wed, 07 Apr 2010 12:41:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Lazyweb Request: Why would PHP be *faster* than HTML?]]></title>
      <guid>http://www.phpdeveloper.org/news/11990</guid>
      <link>http://www.phpdeveloper.org/news/11990</link>
      <description><![CDATA[<p>
While running some benchmarks on some of the more popular PHP frameworks, <i>Paul Jones</i> came across something interesting - a <a href="http://paul-m-jones.com/?p=413">PHP request was handled faster than a static HTML request</a>.
</p>
<blockquote>
With the help of the great guys at <a href="http://slicehost.com/">Slicehost.com</a>, I am attempting to run my <A href="http://paul-m-jones.com/?p=315">benchmark series</a> on a virtual private server, to compare with EC2. However, I'm seeing a very strange result for the baselines: a PHP page delivers more requests-per-second than a static HTML page.
</blockquote>
<p>
According to his results, his runs of ab (the Apache benchmarking tool) showed that requests against the index.html file (versus the index.php) came in at almost 400 requests per second slower. As it turns out, though, the problem of the skewed results wasn't in the serving up of the requests but in the ab tool itself. He picked up another testing tool, <a href="http://www.joedog.org/index/siege-home">seige</a>, and ran that with the same requests and got more correct results.
</p>]]></description>
      <pubDate>Fri, 20 Feb 2009 09:31:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Etienne Kneuss' Blog: SplFastArray to speed up your PHP arrays]]></title>
      <guid>http://www.phpdeveloper.org/news/10371</guid>
      <link>http://www.phpdeveloper.org/news/10371</link>
      <description><![CDATA[<p>
<i>Etienne Kneuss</i> has <a href="http://www.colder.ch/news/06-07-2008/33/splfastarray-to-speed-up-.html">posted about</a> a new part of the Standard PHP Library that creates arrays that are up to thirty percent faster than normal methods - SplFastArray.
</p>
<blockquote>
Antony got the idea to implement a C-like array wrapper in SPL: SplFastArray. The main advantage of that class is performance, it's indeed faster than PHP arrays. How so? No free lunch: The speedup comes from the fact that non-numeric indexes are not allowed and that the array is of fixed size.
</blockquote>
<p>
The code sample shows the setting of the size for the array (and changing it) with a var_dump of the output result. This method is always faster than normal arrays, it just varies how much from system to system (anywhere from ten to thirty percent).
</p>]]></description>
      <pubDate>Mon, 09 Jun 2008 12:54:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nick Halstead's Blog: Do faster typists make better coders?]]></title>
      <guid>http://www.phpdeveloper.org/news/8331</guid>
      <link>http://www.phpdeveloper.org/news/8331</link>
      <description><![CDATA[<p>
<i>Nick Halstead</i> <a href="http://blog.assembleron.com/2007/07/24/do-faster-typists-make-better-coders/">asks an interesting question</a> on his blog today - "Do faster typists make better coders?"
</p>
<blockquote>
<p>
I have been able to touch type since about age 12 and can manage about 100 words per minute when faced with blocks of text to copy and even faster if I am just writing code. [...] Programming in C meant a lot more typing of parenthesis and a lot more thinking about the structure of the code.
</p>
<p>
PHP has introduced another set of typing problems with a lot more use of < > and a much higher mixture of variables/functions/parenthesis plus the added bonus of trying to remember a single function from a choice of 3000+.
</p>
</blockquote>
<p>
Several of <a href="http://blog.assembleron.com/2007/07/24/do-faster-typists-make-better-coders/#comments">the comments on the post</a> suggest that it could be helpful to productivity, but shouldn't be focused on too much. After all, what really matters is the programmers skill, right?
</p>]]></description>
      <pubDate>Wed, 25 Jul 2007 14:51:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: Make your symfony application 70% faster]]></title>
      <guid>http://www.phpdeveloper.org/news/7885</guid>
      <link>http://www.phpdeveloper.org/news/7885</link>
      <description><![CDATA[<p>
Continuing in their "plugin of the week" series, the Symfony blog presents <a href="http://www.symfony-project.com/weblog/2007/05/18/make-your-symfony-application-70-faster.html">a new plugin</a> that can help to make your Symfony application up to 70 percent faster than it already is.
</p>
<blockquote>
<p>
I'd like to tell you a little success story about using <a href="http://trac.symfony-project.com/trac/wiki/sfOptimizerPlugin">sfOptimizerPlugin</a>. I did many things in my "public" application to optimize performance [and end up having] an average execution time of ~150ms per page, wich leads to ~100ms in the production environment. A little bit slow, I think.
</p>
<p>
After [installing the plugin and] running $php symfony optimize public staging over the environment, the execution time was reduced by 50ms from ~150ms down to ~90ms, nice. And even the production environment acts faster now, with only ~30ms to serve pages, very nice - 70% faster!
</p>
</blockquote>
<p>
He even suggests using the <a href="http://trac.symfony-project.com/trac/wiki/sfOptimizerPlugin">sfOptimizerPlugin</a> in a cron job on a server to help keep things constantly optimized. 
</p>]]></description>
      <pubDate>Mon, 21 May 2007 13:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Faster PHP Apps - Profile Your Code with Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/7680</guid>
      <link>http://www.phpdeveloper.org/news/7680</link>
      <description><![CDATA[<p>
A <a href="http://www.sitepoint.com/blogs/2007/04/23/faster-php-apps-profile-your-code-with-xdebug/">new post</a> to the SitePoint PHP Blog today (from <i>Paul Annesley</i>) looks briefly at how, with the help of <a href="http://xdebug.org/">XDebug</a>, you can make your applications lighter and faster.
</p>
<blockquote>
So we've got potentially slower code, and we can no longer just open up our simple PHP script and follow its execution from the top of the file to the bottom. How do we figure out exactly what's going on inside?
</blockquote>
<p>
He doesn't go through the installation of <a href="http://xdebug.org/">XDebug</a>, but he does give an example (complete with screenshots) of how to use it in conjunction with two other applications - <a href="http://sourceforge.net/projects/wincachegrind/">WinCacheGrind</a> for Windows users and <a href="http://kcachegrind.sourceforge.net/">KCachegrind</a> - to work with the output XDebug produces. 
</p>]]></description>
      <pubDate>Mon, 23 Apr 2007 10:16:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Potter's Blog: Flash, Flex and PHP Just Got A Huge Boost]]></title>
      <guid>http://www.phpdeveloper.org/news/7195</guid>
      <link>http://www.phpdeveloper.org/news/7195</link>
      <description><![CDATA[<p>
As <i>Mike Potter</i> <a href="http://blogs.adobe.com/mikepotter/2007/01/flash_flex_and.html">mentions in his new blog entry</a>, Flash, Flex and PHP just got a great leg up when it comes to using the combination:
</p>
<blockquote>
<a href="http://www.5etdemi.com/blog/">Patrick Mineault</a>, who runs the <a href="http://www.amfphp.org/">AMFPHP project</a>, has released a new version of AMFPHP 1.9, beta 2 now. However, the <a href="http://www.5etdemi.com/blog/archives/2007/01/amfphp-19-beta-2-ridiculously-faster/">real big news in his blog post</a> was the news that there is now a C based AMF extension for PHP.
</blockquote>
<p>
According to <a href="http://www.5etdemi.com/blog/archives/2007/01/amfphp-19-beta-2-ridiculously-faster/">the test data</a> <i>Patrick</i> gives, the speed jump is well worth implementing the different functionality - a 100% boost, in fact, than the standard PHP version of AMFPHP. Check out <i>Patrick</i>'s blog for the rest of these amazing stats.
</p>]]></description>
      <pubDate>Wed, 31 Jan 2007 09:57:00 -0600</pubDate>
    </item>
  </channel>
</rss>
