Forum Moderators: coopster

Message Too Old, No Replies

Locate slow loading pages or bottlenecks

         

jake66

3:00 am on Jul 12, 2009 (gmt 0)

10+ Year Member



Is there any easy way to do this? I am aware of the 'top' command in ssh, but that only shows me everything grouped together.

If a certain page is causing the most load I'd like to have it singled out so I can update/repair shoddy coding.

To-date, I'm not having any speed or lag issues with my website, so simply viewing it won't help much (I'd like to spot potential problems before they bloom into major issues in the future)

Wasn't sure if this should go in the Apache forum or php.. I utilize both.

NomikOS

3:15 am on Jul 12, 2009 (gmt 0)

10+ Year Member



test with mytop (server)
test with firebug (browser)
lighttpd is faster than apache

and yes, we always want more speeeeeeed------....

bkeep

3:38 pm on Jul 12, 2009 (gmt 0)

10+ Year Member



If you can run the code on a testing server and add several mock products/listings that can be of benefit.

I maintain a small open source script and there where noticeable speed issues until I loaded up several thousand test listings. I only started seeing high execution times and memory usage around 25,000 listings but anything below 5,000 would load ok. Once I was able to actually see the slow loading pages it was much more helpful to me to be able to diagnose.

I also setup JMeter to test multiple front end users.