<?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>Sun, 19 May 2013 08:59:56 -0500</pubDate>
    <ttl>30</ttl>
    <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[ThinkPHP Blog: Benchmarking & optimizing real-world scenarios in a business context]]></title>
      <guid>http://www.phpdeveloper.org/news/14671</guid>
      <link>http://www.phpdeveloper.org/news/14671</link>
      <description><![CDATA[<p>
On the ThinkPHP blog today there's <a href="http://blog.mayflower.de/archives/550-Profiling-best-practices-Benchmarking-and-optimizing-real-world-scenarios-in-a-business-context.html#extended">a new article</a> looking at some of the best practices they seen when it comes to profiling and benchmarking your PHP-based applications.
</p>
<blockquote>
Over the years, PHP has evolved from a script language to a programming language used in big applications with high-level architectures. As the most popular language for web applications, PHP is very fast, robust and stable by default. Coming from tiny scripts, PHP is used in large-scale web applications nowadays. In terms of business context, we need to focus on these three key factors: Scalability, Responsiveness and Resource misusage. All three factors have a high impact on hardware costs, customer loyalty and - indirectly - sales.
</blockquote>
<p>
They mention a few ways that you can use to optimize your application's code including evaluating resource limitations, Firebug caching results and finding bottlenecks with something like <a href="http://github.com/mayflowergmbh/xdebug">XDebug</a>.
</p>]]></description>
      <pubDate>Fri, 18 Jun 2010 09:14:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: August 2007 Issue Released]]></title>
      <guid>http://www.phpdeveloper.org/news/8478</guid>
      <link>http://www.phpdeveloper.org/news/8478</link>
      <description><![CDATA[<p>
<a href="http://phparch.com">php|architect</a> magazine has released their latest issue - the <a href="http://www.phparch.com/issue.php?mid=110">August 2007</a> edition. The cover story for this month is a piece by <i>Dirk Merkel</i> covering the automation and benchmarking/code profiling of your application to find potential issues before your customers/users do.
</p>
<p>
Other great articles in this issue include:
</p>
<ul>
<li>a look at Flex and the Zend Framework
<li>part one of a series on normalization (Chinese)
<li>using cURL to extract pages and their data
<li>"The Job Interview" - an insiders guide.
</ul>
<p>
There's two ways to get this issue - you can either <a href="http://www.phparch.com/publication.php?pid=1">subscribe to the magazine</a> for a year (the PDF edition is only $40 USD) or you can buy the <a href="http://www.phparch.com/issue.php?mid=110">single issue</a> for about $5 USD.
</p>]]></description>
      <pubDate>Fri, 17 Aug 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Easy Benchmarking with Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/5784</guid>
      <link>http://www.phpdeveloper.org/news/5784</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> has information in <a href="http://paul-m-jones.com/blog/?p=220">this new post</a> on his blog with a how-to on doing some benchmarking inside of the Solar application framework.
</p>
<blockquote>
<p>
Comparative benchmarking is tedious work. It's not hard to do, it's just no fun to set up the same scaffold every time you want to figure out how long it takes different pieces of code to execute.
</p>
<p>
To do a benchmark, essentially you need only four things: a timing mechanism, a loop to run the first case, a loop to run the second case, and a way to show the time taken by each loop.
</p>
</blockquote>
<p>
To illustrate, he gives <a href="http://paul-m-jones.com/blog/?p=220">example code</a> of a simple loop and the output of its timing results. But, since this is a boring example, he demonstrates something a bit more complex - something using <a href="http://solarphp.com/svn/trunk/Solar/Test/Bench.php">Solar_Test_Bench</a> and <a href="http://solarphp.com/svn/trunk/Solar/Test.php">Solar_Test</a>. The example of using these two components pits require_once and Solar's own loadClass against each other. He also includes another similar test, one comparing fopen and exploding the include path to check for a file's existence.
</p>]]></description>
      <pubDate>Thu, 13 Jul 2006 05:40:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[iPerSec.com: Benchmarking PHP accelerators]]></title>
      <guid>http://www.phpdeveloper.org/news/5491</guid>
      <link>http://www.phpdeveloper.org/news/5491</link>
      <description><![CDATA[<p>
<i>Jean-François Bustarret</i> talks about a topic in <a href="http://www.ipersec.com/index.php?q=en/bench_ea_vs_apc">his new post</a> the entire PHP community could definitely benefit from - PHP accelerators.
</p>
<p>
In the article, he looks at what accelerators are, how they work, and some of the ones that are currently out there in the market:
<ul>
<li><a href="http://pecl.php.net/package/APC">APC</a>
<li><a href="http://eaccelerator.net/">eAccelerator</a>
<li><a href="http://www.zend.com/products/zend_platform">Zend Platform</a>
</ul>
</p>
<p>
With the ground rules established, he breaks out the analysis into a few different rounds/categories including: support/maintenance, the accelerator's actual performance (including the code they used) and the results he discovered (all graphed out), and, finally, how they handle file updates made to the system.
</p>
<p>
In <a href="http://www.ipersec.com/index.php?q=en/bench_ea_vs_apc&page=0%2C3">the end</a>, there just isn't one that's a clear winner. What it really boils down to is what kind of situation you're in - Zend's option is good if you can pay for everything, otherwise, you'd do well to go with eAccelerator.
</p>]]></description>
      <pubDate>Thu, 01 Jun 2006 08:43:14 -0500</pubDate>
    </item>
  </channel>
</rss>
