SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: debug slow part

  1. #1
    SitePoint Wizard gate2vn's Avatar
    Join Date
    Jan 2004
    Location
    Oslo, Norway
    Posts
    1,057
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question debug slow part

    I have some web pages written with PHP/mySQL, but they are running much slower than usual. Is there any way to debug and find out which part is the reason? All are hand code, not from any CMS.

    Thanks.
    Clustered CloudLinux Hosting | WordPress Hosting |
    Advanced Antispam | Managed Xen VPS
    in US West coast and Asia-Pacific datacenters
    Contact us now on Twitter @vietnap

  2. #2
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you post our code? We may be able to identify where your queries/code can be optimized.

  3. #3
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    You could try installing xdebug and checking the results in using cachegrind or webgrind (more info here: http://devzone.zend.com/article/3829)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •