Home > Backend Development > PHP Tutorial > apache - thinkphp 页面加载时间长怎么调试?已经开启trace

apache - thinkphp 页面加载时间长怎么调试?已经开启trace

WBOY
Release: 2016-06-06 20:19:46
Original
1301 people have browsed it

apache - thinkphp 页面加载时间长怎么调试?已经开启trace
执行过程用了1秒多。然后Ajax也用了1秒左右,最后自己用获取毫秒的函数检测到好像实例化模型用了1秒钟感觉好坑啊。这怎么回事,thinkphp也没提供实例化模型所需的时间,应该怎么调试呢?

回复内容:

apache - thinkphp 页面加载时间长怎么调试?已经开启trace
执行过程用了1秒多。然后Ajax也用了1秒左右,最后自己用获取毫秒的函数检测到好像实例化模型用了1秒钟感觉好坑啊。这怎么回事,thinkphp也没提供实例化模型所需的时间,应该怎么调试呢?

精简化操作,对于不常用的数据请求 写入缓存

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template