My question here is seems subjective, but it's too important to me to know the answer to have a good future plans while coding.
If I have a script with 100 files and each file has it's own queries, and some queries are in the included classes. How can I count time that took the script to get the information from the database in a specific file.? Knowing this will give me a good values to redesign some files structure.
Is there any specific max number of queries in order to keep a program or a script efficient?