php execution speed
Posted: Thu Aug 02, 2007 12:42 pm
Hello,
Currently I am developing a website, and find myself being torn between coding as efficiently as possible and using extra code to provide good structure.
When you run 100-200 lines of code, the client gets a response from the server very quickly for every new page request. At what point will it start to take more time for every page request (lets say 2 seconds or more) on a website that has so few users that on average only 1 user is on the site at any given time?
What about if there are 10 people on the website at any given time?
I am sorry if these are malformed questions. If the above is just a bunch of blabber, any information regarding speed vs size of php would be great.
thanks
Currently I am developing a website, and find myself being torn between coding as efficiently as possible and using extra code to provide good structure.
When you run 100-200 lines of code, the client gets a response from the server very quickly for every new page request. At what point will it start to take more time for every page request (lets say 2 seconds or more) on a website that has so few users that on average only 1 user is on the site at any given time?
What about if there are 10 people on the website at any given time?
I am sorry if these are malformed questions. If the above is just a bunch of blabber, any information regarding speed vs size of php would be great.
thanks