php - web page, can check speed each sql running on it -
i have problem site in 1 of page slow. using wampsever 2.5
,apache 2.4.9
, php 5.5.12
,window 7
. want know is.
- can config when web load?
- can time speed query running on web page/ or can tell page speed time load on (process on query/js/css/performent code)?
we can see on log, it's slow
first need check console if website slow because of assets. google pagespeed give recommendations improve that.
then if want check what's happen on server side, can trace code excellent tool
you see how long last each php method.
for mysql can enable slow queries http://dev.mysql.com/doc/refman/5.7/en/slow-query-log.html
Comments
Post a Comment