Hi,

Some of my scripts are running into major performance problems.

I am using a P133, 64Mb Ram, Linux redhat6.2, Apache,PHP3 and MySQL. (everything is upto date with stable builds) PHP is a module on Apache.

Creating 80 instances of a class takes around 10 seconds.

while(x<8) {
myclass[x]=new class1()
}
class1 {
..this->class1=new class1()
..this->class2=new class2()
..this->class3=new class3()
...to class5
}
class2 {
....
}

I know about the buggy arrays....
myclass->subclass[x]->name - Wont work

But the performance has got me stumped...
Any ideas ??


Thanks.
Matt

ps .. there are a couple of database queries in between but these return within milliseconds