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.

  1. can config when web load?
  2. 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

enter image description here

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

https://blackfire.io

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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -