ayoksus Posted August 15, 2012 Share Posted August 15, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/267104-why-my-site-is-getting-slow/ Share on other sites More sharing options...
trq Posted August 15, 2012 Share Posted August 15, 2012 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 Quote Link to comment https://forums.phpfreaks.com/topic/267104-why-my-site-is-getting-slow/#findComment-1369528 Share on other sites More sharing options...
ayoksus Posted August 15, 2012 Author Share Posted August 15, 2012 Thank you for your reply. I'll try the links you sent. Quote Link to comment https://forums.phpfreaks.com/topic/267104-why-my-site-is-getting-slow/#findComment-1369530 Share on other sites More sharing options...
Christian F. Posted August 15, 2012 Share Posted August 15, 2012 Zend Studio also has a very good profiler, if you don't mind spending a bit of money on it. Especially if you're using Zend Server in addition, which will give you profile data from the production data and user patterns. Quote Link to comment https://forums.phpfreaks.com/topic/267104-why-my-site-is-getting-slow/#findComment-1369594 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.