Do you even optimize bro?
-
Hello there.
So the problem is: a friend of mine asked me to do something about his wordpress site. It’s very slow and top says about high load. I enabled xdebug and created profiling log. The file itself has got 1GB. Yep, single page display generated so much data. But the more interesting part is that the highest positions on the “self” time consuming functions are: get_friendships, populate and __construct. Populate is being called over 200k times. I’m dead f**** serious. Why is it so? Who thought it was a good idea?
You can take a look on the graph and call list under this link: https://ibb.co/g7DMka (imgbb, don’t know if it’s good or not).
The question is: will you fix this issue asap?
- The topic ‘Do you even optimize bro?’ is closed to new replies.