Re: [PHP] Profiling with register_tick_function / declare

2008-02-08 Thread Jochem Maas
Daniel Brown schreef: On Feb 7, 2008 7:10 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: McNaught, Scott schreef: . Get profile results for novices without having to mess around installing php binaries such as APD / zend debugger etc I suppose that includes xdebug? If xdebug works as

Re: [PHP] Profiling with register_tick_function / declare

2008-02-07 Thread Daniel Brown
On Feb 7, 2008 7:10 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > McNaught, Scott schreef: > > . Get profile results for novices without having to mess around > > installing php binaries such as APD / zend debugger etc > > I suppose that includes xdebug? If xdebug works as a local binar

Re: [PHP] Profiling with register_tick_function / declare

2008-02-07 Thread Jochem Maas
McNaught, Scott schreef: Hi there, Is it possible to make the declare(ticks=1) statement apply to *all* functions executed in a php script, regardless of scope? is the declare() pragma not a file scope wotsit? i.e. you'd have to do declare(ticks=1); at the top of each file. ... .

[PHP] Profiling with register_tick_function / declare

2008-02-07 Thread McNaught, Scott
Hi there, Is it possible to make the declare(ticks=1) statement apply to *all* functions executed in a php script, regardless of scope? I wish to write a profiler script to basically dump all the function call times through the execution of a script. So far, I can only get it to work for f

Re: [PHP] Profiling PHP App

2007-12-20 Thread Richard Lynch
On Wed, December 19, 2007 10:21 pm, php mail wrote: > Is there any tool to profiling PHP app ? Compile PHP --with-debug and then use: valgrind --tool=callgrind php -q yourscript.php You get a nifty fabulous listing of where X% of your time is being spent and a really cool diagram of your functio

Re: [PHP] Profiling PHP App

2007-12-19 Thread Chris
php mail wrote: Hi All, Is there any tool to profiling PHP app ? http://www.xdebug.org/docs/profiler -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Profiling PHP App

2007-12-19 Thread Paul Scott
On Thu, 2007-12-20 at 11:21 +0700, php mail wrote: > Is there any tool to profiling PHP app ? Yes, there are a few. The best that I have found anyway, is Xdebug 2 (http://pecl.php.net/xdebug). It can also integrate nicely with PHPUnit as well to do code coverage as well as make your life generall

[PHP] Profiling PHP App

2007-12-19 Thread php mail
Hi All, Is there any tool to profiling PHP app ? Regards, Feris

Re: [PHP] profiling newb

2007-09-10 Thread Chris
Nathan Nobbe wrote: all, i am just getting my feet wet w/ profiling. its nice to see i can invoke a page from the browser then see an analysis in kcachegrind using xdebug to generate the data. however, im curious about 'finding the weak spots in an application'. say for instance i arrive at a ne

[PHP] profiling newb

2007-09-10 Thread Nathan Nobbe
all, i am just getting my feet wet w/ profiling. its nice to see i can invoke a page from the browser then see an analysis in kcachegrind using xdebug to generate the data. however, im curious about 'finding the weak spots in an application'. say for instance i arrive at a new location as a consul

Re: [PHP] Profiling (Was: Re: [PHP] PHP Website Architecture)

2004-05-07 Thread Richard Davey
Hello Travis, Friday, May 7, 2004, 7:06:03 PM, you wrote: TL> Hi Richard, TL> Just curious...how do you do your profiling? Zend IDE. View the page in IE, click the Profile button, analyse the pretty pie-charts and graphs and stack trace until I see where the bottle necks are :) -- Best regard

[PHP] Profiling (Was: Re: [PHP] PHP Website Architecture)

2004-05-07 Thread Travis Low
Hi Richard, Just curious...how do you do your profiling? cheers, Travis Richard Davey wrote: Hello Ryan, Friday, May 7, 2004, 4:51:45 PM, you wrote: RA> Nearly all programs can be written in *one* very large .php file but just RA> thinking of going back in to make changes 3 months down the ro

Re: [PHP] Profiling

2002-06-23 Thread Justin French
Yes, that's what I use, except I use microtime(); Justin French on 23/06/02 11:49 PM, James Drabb ([EMAIL PROTECTED]) wrote: > Hello all, > > Does PHP have any built in functions to do simple profiling on a page? Or > should > I just use $time1=time(); do_stuff(); $time2=time(); echo $time2

[PHP] Profiling

2002-06-23 Thread James Drabb
Hello all, Does PHP have any built in functions to do simple profiling on a page? Or should I just use $time1=time(); do_stuff(); $time2=time(); echo $time2-$time1;? Thanks, Jim Drabb -- - Never ask a geek why, just nod your head and