Re: [PHP-WIN] Optimize php code

2005-04-06 Thread Jason Barnett
The only way to really know is to test it yourself, with your machine and your setup. Because what might be fast for me might be slow for you. You should also have an overall goal in mind of how much time you can spend on page loads. If you need help testing scripts then you can go for apache be

Re: [PHP-WIN] Optimize php code

2005-04-06 Thread martin hochreiter
Hi! That was the only solution for my problem, I discovered myself. Beside that I am searching for other hints ... I learned from an article that some command - constructions are not processed very quickly from the php interpreter (string conversions) and some control structures are faster then oth

Re: [PHP-WIN] Optimize php code

2005-04-06 Thread graeme
You need to find out where the code is spending its time. You can quickly do that calling the microtome() function at various points in your program and then calculating the time spent. Once you have located the bottlenecks then you will need to think about your design, "Can this be improved?"

[PHP-WIN] Optimize php code

2005-04-06 Thread martin hochreiter
Hi there! I'm not the experienced php user, but I've been using php for a while and I've already written some bigger applications with it. These bigger applications are the 'problem', I know how to optimize database access but I have no idea how to optimize php code ... what makes php slow, what co