<?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>Tue, 21 May 2013 09:12:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Pablo Viquez: PHP Step by Step Debugging with JMeter, XDebug & Eclipse PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/18852</guid>
      <link>http://www.phpdeveloper.org/news/18852</link>
      <description><![CDATA[<p>
In a <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">previous post</a> <i>Pablo Viquez</i> talked about integrating JMeter and Zend Debugger for testing your PHP applications. In <a href="http://www.pabloviquez.com/2012/12/php-step-by-step-debugging-with-jmeter-xdebug-eclipse-pdt/">this new post</a> he goes one more step in and talks about integrating Eclipse, JMeter and using XDebug this time for the debugging.
</p>
<blockquote>
In a <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">previous post</a> I wrote about doing step by step debugging using Zend Debugger and Zend Studio making the calls from JMeter, however not everyone has Zend Server or Zend Studio installed, and since XDebug is an awesome project I though that will be awesome to do the same using XDebug. [...] As <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">explained previously</a>, using the browser for API debugging can be pretty hard or nearly impossible unless you build some sort of UI, which normally I do not have time to do, so JMeter is perfect for the job!
</blockquote>
<p>
He includes the configuration changes that'll need to be made to Apache and how to set up and configure the new project in Eclipse. He also includes the setup of the jMeter plan (using his <a href="http://www.pabloviquez.com/wp-content/uploads/2012/12/JMeterXdebug.zip">example</a>) and executing it to execute the script/get the debugging information.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2012 09:47:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Pablo Viquez: PHP debugging with JMeter and Zend Debugger]]></title>
      <guid>http://www.phpdeveloper.org/news/18633</guid>
      <link>http://www.phpdeveloper.org/news/18633</link>
      <description><![CDATA[<p>
<i>Pablo Viquez</i> has <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger">a new post to his site</a> today showing you how to debug your PHP code with the help of <a href="http://jmeter.apache.org/">JMeter</a> (an Apache project) that tests functional behavior and performance and the Zend Debugger.
</p>
<blockquote>
Now, I think JMeter is awesome, no doubt about it, however what if I want to test something while developing a new API Endpoint? well I used to be accustom to the nasty var_dump(); exit; combination or if the API was already completed I used to do error_log() everywhere and figure out the results. [...] I love the easy integration that Zend Server has with Zend Studio for debugging and I though to myself, why not just change the client that triggers the debugging console so instead of the browser use JMeter, at the end both uses HTTP so it should work, well guess what, IT DOES, and It's awesome. No more print_r, error_log, var_dump in the API, lets do the Step by Step debugging with JMeter!
</blockquote>
<p>
He walks you through the steps needed to get it all set up and working together, complete with screenshots. Really, you can use whatever debugger setup you prefer (with something like <a href="http://xdebug.org/">Xdebug</a>) and have jMeter execute on top of that - there's no interface directly between the debugger and jMeter.
</p>]]></description>
      <pubDate>Fri, 19 Oct 2012 10:15:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Internet Super Hero: PHP: mysqlnd can't do wonders]]></title>
      <guid>http://www.phpdeveloper.org/news/8483</guid>
      <link>http://www.phpdeveloper.org/news/8483</link>
      <description><![CDATA[<p>
On the Internet Super Hero blog today, there's <a href="http://blog.ulf-wendel.de/?p=155">this new post</a> with a sort of retraction of some of the previous comments they've made on the mysqlnd drivers - really more proof that "mysqlnd can't do wonders".
</p>
<blockquote>
Lastly, I've been blogging about positive performance related feedback on mysqlnd. Whenever I did so, I got some positive feedback - for obvious reasons: I was posting good marketing news. [...] As much as I'd love to, I can't stand behind a simple statement like "mysqlnd makes your applications faster". You must not assume that each and every application will profit from mysqlnd.
</blockquote>
<p>
His target of choice was <a href="http://www.wordpress.org">WordPress</a> which he ran through a testing cycle with <a href="http://jakarta.apache.org/jmeter/">JMeter</a> (a load and performance testing tool). In the end, though, using the mysqlnd drivers and the regular drivers didn't show much of a difference at all. To figure out why, he uses <a href="http://www.xdebug.org/index.php">XDebug</a>, <a href="http://pecl.php.net/package/APC">APC</a> and <a href="http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindIndex">KCachegrind</a> to work through where the issues might lie. Unfortunately:
</p>
<blockquote>
I was not able to see any mysql_*-function in the <a href="http://blog.ulf-wendel.de/images/wordpress_callgraph.png">call graphs</a>. The reason is that the mysql_*-functions do not contribute to the overall runtime of this application in a major way.
</blockquote>]]></description>
      <pubDate>Mon, 20 Aug 2007 07:49:00 -0500</pubDate>
    </item>
  </channel>
</rss>
