|
Posted by ZeldorBlat on 06/28/07 12:42
On Jun 28, 8:30 am, PaowZ <gpa...@gmail.com> wrote:
> Hello there!
>
> I've tried to gather some infos about php object performance.
> I got started developing an app using php object and have the worst
> requests time I ever seen.
> I mean, once all my classes uploaded on a host, I call index.php to
> get classes instanciations and it could take 55sec to generate the
> first response and about 1 or 2 sec for the following calls..
> ..and I'm scared about those latencies.^^
> I only have less than 10 classes with inheritance and some calls to
> SQL server but it sounds that I don't follow some basic rules.. ^^
> Hm... how do I have to consider php object performance ? What searches
> have I to make ??
> I'm getting lost.. I don't know what and where to look after.. ^^
>
> any idea ?
>
> Thanks a lot :)
I highly doubt that "php objects" are to blame for your problems --
more likely something in the code itself. Even more likely something
to do with the database. Get a profiler to figure out where the
problem is, or place some strategic echo's throughout your code and
run some timing tests.
Navigation:
[Reply to this message]
|