Jump to content

Recommended Posts

I've made a site which is showing products. I've got these products from productfeeds, and it has a large amount of items.

However the site now is getting slower, and I think it's because now I have a lot of items in the site.

Therefore, I need to know what cause this. How can I find the cause of this slow site?

The problem is not that it's slow to download the page, but before it downloads the page. My guess is in the server side, but what? The scripts or mysql, I have no idea.

 

Could anyone help me with this?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/267104-why-my-site-is-getting-slow/
Share on other sites

There are all sorts of tools around for benchmarking and locating bottlenecks in your applications. xhprof is probably a good place to start.

 

I have some code in a github repo that might also help you out. https://github.com/trq/phpBenches, it's not yet complete so might take a little bit of work to get up and running (theres no docs) but it works, and works pretty well.

 

There is also this project, https://github.com/eryx/php-framework-benchmark. The is what phpBenches was based off and what I am currently using to benchmark my framework. See http://thorpesystems.com/2012/08/benchmarking-proem-framework

 

 

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.