Benchmarking PHP with no BSBenchmarking PHP with no BSBenchmarking PHP with no BS 04/09/2004 03:58 PM After I posted my XML benchmarks in February 2004, I was approached by Indu Britto to convert a discussion of the full benchmarks into an article for PHP Magazine. I kept on postponing him (correction, 2 Apr 2004: Indu is a her, apologies for the goof), but in a way, Prophet Mohammed helped me write the article. I'm not muslim, but the prophet's birthday is a public holiday in Malaysia. That gave me the breathing room to write the article. I tried to make the article interesting by not focusing on the mechanics of the benchmark (yawn), but on useful results that everyone can use to improve their code. I was very pleased (and surprised - no one told me beforehand) to hear that the editors decided to feature it as the main article of the March 2004 issue. Now that it has been published, i can announce that the source code of the benchmarking suite and results are available at http://ormestech.com/benchmark_suite/ . The results are static html pages to prevent enthusiatic testers from bringing our server to its knees. You should download the source code to try out all its functionality. The benchmarks are easily extensible also. You just need to add new benchmarking files and the benchmarking suite will auto-detect the files. The nice thing about the benchmarks is that it measures relative performance between algorithms, so you can make meaningful conclusions across disparate hardware platforms. And if you need more clarification, you can read it (shameless plug) in PHP-Mag.
This is a GrokNews Entry: (what is grok?)Benchmarking PHP with no BSGrok Headline matches for Benchmarking PHP with no BSGoing the whole hog: benchmarking MDBGoing the whole hog: benchmarking MDB 02/06/2003 11:53 AM Well since I just benchmarked dbx, I decided to go the whole hog and benchmark MDB also. This gives us a good idea of the performance of all the modern database abstraction classes available for PHP:
Average Overhead
MySQL 1.14 -
dbx 1.37 20% (index only)
ADODB 1.45 27%
dbx 1.53 34% (index/assoc/info)
PhpLib 1.60 40%
MDB 1.75 54%
PEAR DB 2.87 152% (fetchInto)
PEAR DB 3.15 176% (fetchRow)
M'base 2.52 296% (numeric cols)
M'base 4.77 318% (assoc cols)
More information and source code: http://phplens.com/lens/adodb/
"zeldman.gldys" Benchmarking BluesBenchmarking Blues 08/09/2004 01:31 PM Notes from the Lab: We benchmark. Our competitors benchmark. We post results. They post results. Sometimes they conflict. Sometimes they don't. But what does it really mean, and why do we do it at all? Benchmarking and Baselines in SEMBenchmarking and Baselines in SEM 08/06/2004 02:46 PM Source: ClickZ - Use internal benchmarking, or baselining. Beating your own baseline numbers is as satisfying as beating the competition because much of the lift comes from the competition. When you run smart, efficient campaigns, you take orders away from... Doom 3 benchmarkingDoom 3 benchmarking 08/04/2004 03:11 PM PHP Everywhere: Benchmarking with WASTPHP Everywhere: Benchmarking with WAST 03/17/2005 02:48 AM New from PHP Everywhere today is a new posting discussing the use of a web server benchmarking tool - Web Application Stress Tool. PHPEverywhere: PHP Benchmarking SuitePHPEverywhere: PHP Benchmarking Suite 02/12/2004 10:10 AM John Lim from PHPEverywhere, there's a new posting about his PHP Benchmarking Suite making it easier to test your code and extend to conform to your testing needs. John's PHP Benchmarking Suite (ZIP)John's PHP Benchmarking Suite (ZIP) 02/11/2004 12:26 PM My benchmarking suite. Apart from XML, it also benchmarks string handling, looping (foreach vs for), output buffering, etc. And it's easily extensible too. I wrote it when i was thinking about writing a book on optimizing PHP, and realized i would need a benchmarking suite to test various performance hypotheses. Its not OOP, but i think it demonstrates how far you can make procedural programming extensible in PHP. The benchmarking engine scans sub-directories, and each sub-directory is treated as a test suite. A .php file in a sub-directory is one test. Every .php file in a sub-directory can be run stand-alone, and when running stand-alone debugging output is generated so you can verify the correctness of the code you are measuring. To install, just unpack in a web server directory, and open up index.php from your web browser. Requires PHP 4.3 or later.
Benchmarking 64 Bit Video WorkstationsBenchmarking 64 Bit Video Workstations 05/21/2004 11:34 AM A case for software benchmarkingA case for software benchmarking 03/29/2005 11:18 AM Comment Wheat and chaff Benchmarking dbx, preliminary resultsBenchmarking dbx, preliminary results 02/05/2003 11:18 AM Yesterday, I benchmarked dbx, native MySQL and ADOdb. The results might be interesting to some of you:
Average Overhead
MySQL native 1.14 -
dbx 1.37 20% (flags=DBX_RESULT_INDEX)
ADOdb 1.45 27% (numeric indexes)
dbx 1.53 34% (default flags)
This reveals that dbx using default settings will provide no
speedup over ADOdb because it also queries the field information and
generates both associative and numeric indexes. The speedup of dbx
over ADOdb is minimal when the dbx flags is set to DBX_RESULT_INDEX.
The benchmark algorithm used is the same one as that found at http://phplens.com/lens/adodb/ and if i have the time, i will upload the dbx benchmark source. Test system was a 800Mhz PIII running Win2000 with IIS and MySQL installed.
"zeldman.bbl" Benchmarking Java XML processorsBenchmarking Java XML processors 07/01/2002 04:40 PM Pankaj Kumar has announced XPB4J, a tool for measuring and comparing XML parsing/processing performance. Benchmarking Perl scripts with
|
Also check out: |