Re: PHP performance
| From: | Richard Lynch | Date: | Tue, 04 Mar 2008 23:47:38 +0000 |
| Subject: | Re: PHP performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270985@lists.php.net to get a copy of this message | ||
#1
Get the code, install it on a box in the closet, run valgrind --callgrind
This will give you a stack trace of what gets called the MOST in your
application.
Look for "tall" trees in the call graph, and fix those first.
#2
You can use 'ab' (apache benchmark) or similar to test it externally.
#3
You can also script things with Selenium IDE and then use Selenium
remote control to run them repeatedly, for the end-user experience.
Don't let server non-access stop you from doing #1 though...
On Mon, March 3, 2008 11:09 am, Thiago Pojda wrote:
> Guys,
>
> I've been asked to build a performance report for a PHP app. I can't
> profile
> it using automated tools as I don't have full access to the server,
> only to
> the application itself.
>
> It's a PHP4 Object-Oriented app, which uses ADODB as abstraction layer
> with
> a Oracle 8i databse. The system also uses a VB.NET socket server for
> some
> data manipulation.
>
> As for migrating to PHP5 I think it's crucial, but I need facts that
> it
> really runs faster than PHP4. Anyone? :)
>
> Any ideas on what might be the bottleneck?
>
> Thanks guys
>
> Atenciosamente,
>
>
> <http://www.softpartech.com.br/> www.softpartech.com.br
>
>
> Thiago Henrique Pojda
> Desenvolvimento Web
> +55 41 3033-7676
> thiago.pojda@softpartech.com.br
> Excelência em Softwares Financeiros
>
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?