stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


PHPEverywhere: PHP Benchmarking Suite







PHPEverywhere: PHP Benchmarking Suite

PHPEverywhere: 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.




This is a GrokNews Entry: (what is grok?)





Similar Items

PHPEverywhere: PHP Benchmarking Suite

Grok Headline matches for PHPEverywhere: PHP Benchmarking Suite

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.


Going the whole hog: benchmarking MDB


Going 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 PHP with no BS


Benchmarking 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.


PHP Everywhere: Benchmarking with WAST


PHP 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.

Doom 3 benchmarking


Doom 3 benchmarking 08/04/2004 03:11 PM

Benchmarking Blues


Benchmarking 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 SEM


Benchmarking 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...

Benchmarking Java XML processors


Benchmarking 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 dbx, preliminary results


Benchmarking 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"

A case for software benchmarking


A case for software benchmarking 03/29/2005 11:18 AM
Comment Wheat and chaff

Benchmarking 64 Bit Video Workstations


Benchmarking 64 Bit Video Workstations 05/21/2004 11:34 AM

Benchmarking Java XML processors
(xmlhack)


Benchmarking Java XML processors
(xmlhack)
07/02/2002 11:03 PM

Benchmarking Perl scripts with
Benchmark.pm


Benchmarking Perl scripts with
Benchmark.pm
08/09/2004 05:42 AM
CNET Aug 9 2004 10:10AM GMT

DOOM 3 Cheats, Hacks, benchmarking and
Mods


DOOM 3 Cheats, Hacks, benchmarking and
Mods
08/05/2004 10:50 AM

Chaos Theory Benchmarking Scripts @
3DPulpit


Chaos Theory Benchmarking Scripts @
3DPulpit
04/18/2005 02:02 PM

Socitm extends ICT benchmarking service
to education sector


Socitm extends ICT benchmarking service
to education sector
06/16/2004 03:41 AM
PublicTechnology.net Jun 16 2004 7:55AM GMT

Intel Dual Core: Multi-Tasking
Benchmarking


Intel Dual Core: Multi-Tasking
Benchmarking
04/11/2005 08:28 PM
Legit Reviews Apr 12 2005 12:23AM GMT

PHPEverywhere: OOP is Not For Me?


PHPEverywhere: OOP is Not For Me? 01/21/2003 08:55 AM

Website Benchmarking Tool: US Healthcare
Professional Targeted Websites


Website Benchmarking Tool: US Healthcare
Professional Targeted Websites
04/19/2005 02:35 AM
Datamonitor Apr 19 2005 3:31AM GMT

PHPEverywhere: Migrating from ASP to PHP


PHPEverywhere: Migrating from ASP to PHP 06/22/2004 07:41 AM
A new posting on PHPEverywhere today discusses the migration from ASP to PHP, and includes a sample guide to make the conversion smoother.

PHPEverywhere: Another Take on PEAR2


PHPEverywhere: Another Take on PEAR2 11/12/2003 01:22 PM
In a continuation of a topic started a few days back, PHPEverywhere has another posting about PEAR versus the proposed PEAR2, as well as where the future of it might be heading.

phpEverywhere: More About the Benchmarks


phpEverywhere: More About the Benchmarks 11/19/2003 09:18 AM
A little while back, we mentioned some of the benchmarking that phpEverywhere was doing with one of the new suites, and now, with some solid results behind them, they've posted a graph of the results.

PHPEverywhere: PHP 4.4 Breakage


PHPEverywhere: PHP 4.4 Breakage 06/17/2005 03:32 PM
This new post on PHPEverywhere today points out two things: the PHP4.4 beta fixed some of the crashing issues in Windows he was having, and a bit of bad news - a new, potentially nasty bug.

The bad news is this quite disturbing, as PHP4 has been out for over 5 years yet no one has found this error before. The fact that PHP4 is known for reliability also suggests that references are a rarely used feature. Now you need to use references a lot in PHP4 to implement OOP well (otherwise all assignments create a duplicate copy of the object instance), which also suggests the takeup of OOP is pretty low in PHP4.'

He gives this example, with this resulting Warning message:

function &dosomething($a) { $b = false; return empty($a) ? $b: $a; } Only variable references should be returned by reference in d:inetpubwwwroottest.php on line 8

There is this bug opened, but there doesn't appear to be anyone looking into it...

PHPEverywhere: More on Pharrot


PHPEverywhere: More on Pharrot 10/28/2003 11:07 PM
With a new update on the PHP & Parrot front, PHPEverywhere has a new piece posted this morning talking more about the future of PHP and Parrot.

PHPEverywhere: The Discipline of PHP


PHPEverywhere: The Discipline of PHP 08/11/2004 08:33 AM
When people talk about PHP not working or not scaling for them, I sometimes think they are not talking about technology, but the fact that PHP is too easy for them. [...] A typical opinion on PHP will praise it for speed of development, but moan the fact that PHP coding is messy and horrible.

PHPEverywhere: Some Thoughts on PHP


PHPEverywhere: Some Thoughts on PHP 11/27/2002 09:28 AM

PHPEverywhere: The PHP 5 Aftermath?


PHPEverywhere: The PHP 5 Aftermath? 07/14/2004 08:29 AM
With a bit of the aftermath of PHP 5 being released, there are a few things coming to light. John Lim highlights some of these issues.

PHPEverywhere: Overloading Your PHP


PHPEverywhere: Overloading Your PHP 01/20/2003 08:30 AM

PHPEverywhere: PHP on .NET Whitepaper


PHPEverywhere: PHP on .NET Whitepaper 12/29/2004 09:43 AM
From PHPEverywhere there's a quick new posting mentioning the PHP on .NET discussion from earlier in the week.

PHPEverywhere: More About International
Support


PHPEverywhere: More About International
Support
08/19/2004 10:10 AM
With a bit of a rebuttal for Harry Fuecks' statement that PHP has a great lack of international support comes this new posting from John Lim at PHPEverywhere.

PHPEverywhere: The Once and Future
Parrot


PHPEverywhere: The Once and Future
Parrot
08/23/2004 08:21 AM
There's a new posting on PHPEverywhere this morning pertaining to Parrot - what it is, and how it can be good for PHP.

PHPEverywhere: MySQL 5 Trigger "First
Look"


PHPEverywhere: MySQL 5 Trigger "First
Look"
02/05/2005 09:07 PM
With a "first look" at one of the powerful new features of MySQL 5 (alpha), John Lim of PHPEverywhere looks at the MySQL 5 triggers.

PHPEverywhere: Back to the Future in PHP


PHPEverywhere: Back to the Future in PHP 01/27/2003 08:45 AM

PHPEverywhere: Exception Misinformation


PHPEverywhere: Exception Misinformation 07/07/2004 11:28 AM

PHPEverywhere Interviews Zeev


PHPEverywhere Interviews Zeev 10/08/2002 08:12 AM

PHPEverywhere: Bitch-slapping PHP


PHPEverywhere: Bitch-slapping PHP 08/27/2004 01:35 PM
Open source is wonderful. Everything is so open, warts and all. R oshan Naik complains about the state of PHP:

PHPEverywhere: Self-Replicating PHP Code


PHPEverywhere: Self-Replicating PHP Code 05/13/2004 07:46 AM
PHPEverywhere has an interesting link today about self-replicating PHP.

PHPEverywhere: Is PHP5 Good to Go?


PHPEverywhere: Is PHP5 Good to Go? 09/21/2004 08:14 AM
From PHPEverywhere:

PHPEverywhere: Review of Upgrading to
PHP 5


PHPEverywhere: Review of Upgrading to
PHP 5
09/13/2004 07:06 AM
PHPEverywhere has a new review of Adam Trachtenber's latest book - Upgrading to PHP 5.
Grok Description matches for PHPEverywhere: PHP Benchmarking Suite
GrokA matches for PHPEverywhere: PHP Benchmarking Suite

PHPEverywhere: PHP Benchmarking Suite

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Cloning Creates
Human Embryos

U.N. Aide Backs
Cleric, Not U.S., on
Iraqi Elections

Microsoft Brings
Digital Imaging
Software Into Focus
at PMA 2004

Microsoft Offers
Fabulous Prizes for
Customers

Microsoft patch
delay may contribute
to early exploit

2.5G or 3G? Can't
decide? Have both,
says Vodafone

Actix Assists 3GIS
In Swedish 3G
Rollout

V'fone Launches 3G
Service

Vodafone launches 3G
services

Siemens, Huawei to
set up 3G joint
venture

Vodafone poised for
first 3G launch

European launch for
Vodafone's 3G

Broadcom Licenses
Cirrus Logic's
Storage Patents

Macomedia Ships
Director MX 2004

Apple, IBM New G5
'Best Desktop
Processor'

py Request Tracker
Report 1.0.14

Cyberduck 2.2b5
Cluster SSH 1.50
mReplay 0.62
Site Index 2.00
de Jong Explorer 0.1
pscdcover 0.7
BTManager 1.3.2
xcave 1.1.0
SwingWT 0.79
Own a piece of that
Mac G5 supercomputer

Sony Clie TG27
review

8GB CompactFlash
card

Going wireless
Treo 600 really is
available from
T-Mobile

Upgrades for
Samsung's i700

PalmSource dropping
Mac support

How will Office 2003
DRM impact
interoperability?

Motorola to reclaim
share of mobile
phone market

To dream of the
Turkish Guy

Jedi Con 2004
Figures 2-Pack
Details

Clone Wars
Adventures Interview

Photo Archives:
Unleashed Luke
Skywalker
(Snowspeeder Pilot)

Proposal would
extend Net-tax
moratorium

WRChat
XOOPS
AxCrypt - File
Encryption for
Windows

Cloning embryos:
Your Views

Politicians' fury at
Janet flash

New star emerges
from dust cocoon

A-levels face
another shake-up

Warning over
spiralling HIV rates

Blair and MPs to get
2% pay rise

Rival drugs threaten
Glaxo profit

New Iran nuclear
designs 'found'

what is grok?