In many cases, we often encounter performance bottlenecks. The bottleneck is not terrible. What's terrible is that you don't know where the bottleneck is. In practice, many friends do not know how to solve the problem. Let me talk about a tool I used: webgrind to optimize the performance of PHP. You can find many such tutorials on the Internet. Install xdebug first
In many cases, we often encounter performance bottlenecks. The bottleneck is not terrible. What's terrible is that you don't know where the bottleneck is. In practice, many friends do not know how to solve the problem. Let me talk about a tool I used: webgrind to optimize the performance of PHP. You can find many such tutorials on the Internet. Install xdebug first
In many cases, we often encounter performance bottlenecks. The bottleneck is not terrible. What's terrible is that you don't know where the bottleneck is.
In practice, many friends do not know how to solve the problem. Let me talk about a tool I used: webgrind to optimize the performance of PHP.
You can find many such tutorials on the Internet. Install xdebug first and then webgrind.
You can install xdebug first, the official website address is: http://www.xdebug.org/
Then install: https://github.com/jokkedk/webgrind
The instructions on the official website are as follows:
- Download webgrind (Download webgrind)
- Unzip package to favorite path accessible by webserver. (decompress the package to the specified web directory)
- Load webgrind in browser and start profiling (Load browsing)
WebGrind automatically monitors any local PHP file.
As follows:
Xdebug webgrind