benchmarking php

From: Date: Wed, 23 Jan 2002 08:27:50 +0000
Subject: benchmarking php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4107@lists.php.net to get a copy of this message
> >If you this might be different. I will even claim that most php > >developers don't even ever examine their bottlenecks nor are they ever > >forced to. > > I think most PHP programmers don't know how to :-) > Could someone please expand on how it can be done? Well you can either: 1) start and stop a timer in various parts of your script and then output the results 2) you could throw some web benchmark proggi at the application and change parts here and there (or uncomment parts) looking how that affects the number of pages served 3) the best is to use something like DBG (http://dd.cron.ru/dbg/ - the site is down ATM). DBG has a profiler that neatly shows you where your php script spends its time. Unfortunately I think most of the editors out there that support DBG is still integrating the newest version (that brought with it the profiler) any other ideas? Best regards, Lukas Smith smith@dybnet.de _______________________________ DybNet Internet Solutions GbR Alt Moabit 89 10559 Berlin Germany Tel. : +49 30 83 22 50 00 Fax : +49 30 83 22 50 07 www.dybnet.de info@dybnet.de _______________________________ > -----Original Message----- > From: Peter Bowyer [mailto:reywob@f2s.com] > Sent: Wednesday, January 23, 2002 8:32 AM > To: Lukas Smith; metabase-dev@yahoogroups.com; 'Sterling Hughes' > Cc: 'binarycloud-dev'; pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] RE: [binarycloud-dev] Re: [PEAR-DEV] Re: > [binarycloud-dev] Re:[PEAR-DEV] Re: [metabase-dev] RE: [PEAR-DEV] New > Metabase Aniversaryrelease > > At 11:08 PM 1/22/02 +0100, Lukas Smith wrote: > >Obviously these guys don't switch DB's often and > >obviously their bottleneck will be the dabatbase. > > > > Thanks, > Peter. > > > --oOo-- > Narrow Gauge on the web - photos, directory and forums! > http://www.narrow-gauge.co.uk > --oOo-- > Peter's web page - Scottish narrow gauge in 009 > http://members.aol.com/reywob/ > --oOo--

« previous php.pear.dev (#4107) next »