Jump to content

Recommended Posts

Ok,

 

Well now that i have finished a great deal of a script im developing

 

I was wondering what most of you consider to long for a page to load and sql queries

 

right now the script i have will run about 20-35 queries to the database when a page will load and parse 6 templates using my template engine each template file is about 10kb in size and the page will load in on average of .091 seconds through the admin main page it conducts 75 queries to the database parses 13 template files and does it in an average of .241 seconds now I am wondering if this is reasonable?

 

 

Link to comment
https://forums.phpfreaks.com/topic/104420-loading-time/
Share on other sites

being admin will be accessed a lot less than the other pages, its okay that it is higher. for main pages, I would see what you could cache to reduce the queries and allow for a faster experience as multiple users start accessing the site at the same time.

You really should never say, "Is this a good threshold that the user can tolerate?" Instead, you should always be saying, "What can I do to make this faster for everyone?"

Link to comment
https://forums.phpfreaks.com/topic/104420-loading-time/#findComment-540917
Share on other sites

the script i have will run about 20-35 queries to the database when a page will load and parse 6 templates using my template engine each template file is about 10kb in size and the page will load in on average of .091 seconds

 

the admin main page it conducts 75 queries to the database parses 13 template files and does it in an average of .241 seconds now I am wondering if this is reasonable?

 

Yes, that sounds right. You should also build in a caching system because there is no reason to keep processing the same template files (like "header.xxx"). Set it to cache the outcome of the system for 1+ minutes before they re-template them.

 

Also, I posted something on what it takes to run wordpress and my system CodeXplorer takes about .05 seconds 1.5MB RAM on the index page.

Link to comment
https://forums.phpfreaks.com/topic/104420-loading-time/#findComment-546883
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.