Home > Backend Development > PHP Tutorial > PHP performance monitoring test----Xhprof_PHP tutorial

PHP performance monitoring test----Xhprof_PHP tutorial

WBOY
Release: 2016-07-13 10:35:45
Original
1047 people have browsed it

Since I started working, except for novice tasks, I have basically dealt with the server side, and my time working on the front-end has been very short

Current performance monitoring and testing of the company: Xhprof and ab testing

Xhprof----facebook's open source, lightweight PHP performance analysis tool: including the number of function calls, the time spent (the time spent by itself and the time spent by internal functions), the memory/CPU occupied, and the Peak memory usage and percentage

For details on how to install it, you can go to Baidu to use it. This is really easy to use. You can quickly know which function of which file the performance bottleneck is, and then optimize it in a targeted manner: give a screenshot to explain specificallyPHP performance monitoring test----Xhprof_PHP tutorialDatabase, check the source code, there is a join table query, and then the query is placed in foreach, resulting in many small queries. Next, all that’s left is targeted optimization


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/742402.htmlTechArticleFrom now on, apart from doing novice tasks, I basically deal with the server side, and I spend a lot of time doing front-end work. Short current company's performance monitoring and testing: Xhprof and ab test Xhprof--...
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