How is the efficiency of a PHP (or any other server-side) script estimated?
Thank you
Printable View
How is the efficiency of a PHP (or any other server-side) script estimated?
Thank you
What do you mean by efficiency estimated? If you are talking about how to people know that it is good, well, you have to compare it to other languages. Can you please explain better?
How can clients get the php file faster? What are indicators about the quality of PHP script? If I wrote two scripts doing same thing how can I compare them?
Thank you
You mean optimization. Well, first, you can tell the more optimized code by speed. This sometimes is distinguishable to the human eye. If not, you probably don't need to worry about it.
Also, you can compare the resources used on the server. Choose the one that works best for you and uses less resources to accomplish the task.
If enabled on the web server, web logs can show response time in ms.