PHP performance monitoring test ---- Xhprof has been working till now. in addition to being a newbie, it basically deals with the server. the front-end time is very short. At present, the company's performance monitoring and testing are as follows: xhprof and AB test Xhprof ---- facebook's open-source, lightweight PHP performance analysis tool: & nbsp; including the number of function calls, time spent (self-spending time and time spent including internal functions), memory CPU usage, memory usage peak & #20 PHP performance monitoring test ---- Xhprof
Now, in addition to new jobs, I have basically been dealing with servers, and it takes a short time to develop front-end services.
Currently, the company's performance monitoring and testing: Xhprof and AB testing
Xhprof-facebook's open-source, lightweight PHP performance analysis tool: includes the number of function calls, the time spent (the time spent and the time spent on including internal functions), the memory/CPU occupied, peak memory usage and percentage
For details about how to install and use it, you can go to Baidu. this is really cool and easy to use. you can quickly know the function of the file where the performance bottleneck is located, and then perform targeted optimization: give a detailed description.
This is part of business management. during the detection of the yellow and red colors in the roadmap, we found that this function had dropped 99 databases, checked the source code, and even had a table connection query, then the query is placed in foreach, resulting in many small queries. Next we will have targeted optimization.