Jump to content

Rob van der Lee

Members
  • Posts

    1
  • Joined

  • Last visited

Rob van der Lee's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I recognize myself in this. When i bought my first hosting pack at some hosting firm I experienced the same. The hosting was dirty cheap and super slow on itself but taught me that my code was very badly designed also. What do I suggest? Check your code. Build in a lot of alerts or report it to some class if your using a proper framework. You need to know whats going on in your code in order for you to optimize it. I personally report back to a helper class with a message and time, this gives me the means to measure and know whats going on in that point of the loading time. When you see large gaps and huge numbers, then you know that's the area that needs work/optimization. With a system like this you can keep improving and keep learning by finding what situations work in code and those who don't. However, for queries all together you can also look at phpmyadmin for that. There is a tool that analyses the queries ( put EXPLAIN before your query ), you will need this when you query complex statements with joins and complex criteria. This will give you the numbers on your query so you can crunch them together to make adjustments from there. I hope this helps you a little in finding what you need to improve on your code. When you trace it back to it's source, care to share? I'm intrigued now
×
×
  • Create New...