1  download xhprof Of php Expand

Because of the official xhprof I won't support it php7, So using tideways Version of xhprof

Download address :windows edition tideways_xhprof

take windows Version of dll Files in PHP The extended directory for modify PHP.ini as follows

  • [xhprof]
  • extension=php_xhprof.dll
  • ; directory used by default implementation of the iXHProfRuns
  • ; interface (namely, the XHProfRuns_Default class) for storing
  • ; XHProf runs.
  • xhprof.output_dir="D:/log/xhprof"

out_dir  Define where to store the output file

download xhgui

This project is used to show performance analysis data

Download address :git Address

  1. composer install to update vendor package
  2. Modify file header.php, be-all tideways Replace with tideways_xhprof, Including extensions and function names , And constants , for example TIDEWAYS_FLAGS_CPU Replace with TIDEWAYS_XHPROF_FLAGS_CPU wait , In addition, to delete NO_SPAN This constant .
  3. config.php In the document profiler.enable It's used to control the recording frequency , It can be set to 100%, Express 100% Log .
  4. xhgui stay php7 The next encryption will report an error , All function names that report errors should be preceded by @ A symbol is enough .
  5. In the project header.php file require Go in and record the log .

xhgui Of nignx The configuration is as follows :
server {
listen 80;
root D:/www/xhgui/webroot;
server_name myxhgui.com;
index index.html index.php;

location / {
try_files $uri $uri/ /index.php?$uri&$args;

location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

PHP Performance analysis ——xhprof(window install xhporf) More articles about

  1. oracle11g Of standby Performance analysis report statpack install

    Common analysis standby database The way to solve this problem is to use the dynamic performance view to judge , from 11g Start , With Active Data Guard Appearance of function , In the early Statspack Tools can be found in stand ...

  2. Linux Installation and use of performance analysis tools

    from :http://blog.chinaunix.net/uid-26488891-id-3118279.html Normal 0 7.8 pounds 0 2 false false false EN-US ...

  3. Performance test :Java Performance analysis artifact -JProfiler Installation and brief introduction

    Jprofiler It's a heavyweight tool , Need to be on the server and windows All clients are installed , Loss of performance , It is used to find problems and check them , Instead of regular monitoring JPROFILER Tool download address :http://www.ej-te ...

  4. Chrome Performance analysis tool lightHouse Directions

    This article mainly talks about how to use Chrome Developer tools linghtHouse Perform page performance analysis . 1. Installing a plug-in It's simple , Click on the “ Added to the Chrome” that will do . 2. Usage mode 1) Open the page you want to test , Click on the top right corner of the browser ...

  5. php Performance analysis tool - xhprof Installation and use

    One . Preface It's better to record the useful things , Also convenient for future inquiry : Record this time xhprof Installation and use : xhprof yes facebook An open source php Lightweight performance analysis tools , Follow Xdebug similar , But the performance overhead is lower , ...

  6. PHP Performance tracking and analysis tools xhprof Installation and use of

    For a local development environment , Perform performance analysis xdebug It's enough , But if it's an online environment ,xdebug High consumption , Configuration is not flexible enough , Therefore, it is recommended to use xhprof Conduct PHP Performance tracking and Analysis . Let's talk about it today x ...

  7. windows Lower installation php Performance analysis tool XHProf

    One . Install the extension download XHProf Expand :http://dev.freshsite.pl/php-extensions/xhprof.html Put in the extension file : Download and unzip .dll file , Copy it to php Of ext ...

  8. PHP Performance analysis Part 1 : Xhprof & Xhgui Introduce

    [ Preface ] This is a well-known foreign blogger Davey Shafik Written by PHP The first part of the application performance analysis series , Read the second chapter to learn more about xhgui, The third one focuses on performance tuning practices . What is performance analysis ? Performance analysis is a measure of how an application works in ...

  9. PHP Performance analysis Part 1 : Intro to Xhprof & Xhgui

    [ Preface ] This is a well-known foreign blogger Davey Shafik Written by PHP The first part of the application performance analysis series , Read the second chapter to learn more about xhgui, The third one focuses on performance tuning practices . The original link is as follows : https://blog. ...

Random recommendation

  1. How to change Magento Of Base URL

    Magento Of Base URL It's used to access the store page URL, You can also work for a single store view Set up a Base Url. Before changing this value, please make sure that your domain name has pointed to the IP,DNS After parsing ...

  2. MS SQL SERVER Lock research record

    First, create a data table ChenJi, There are the following fields : ID, DanWeiID,  Name,  ChenJi CREATE TABLE [dbo].[ChenJi]( [ID] [int] NOT NUL ...

  3. javascript - Work notes ( Event binding 2 )

    The event binding method in the previous article , I believe everyone has seen . But here's a little bit of a problem , These methods , Variables are global , It's hard to avoid being covered due to conflicts with other libraries or methods , therefore , I made a little package here , as follows :  JavaScript ...

  4. Sonar—— Code quality management platform

    Sonar—— Code quality management platform One . Basic knowledge Sonar (SonarQube) It's an open source platform , Used to manage the quality of source code . Sonar It's not just a quality data reporting tool , It's a code quality management platform . Through plug-in mechanism ,So ...

  5. 1px How big is it

    One . introduction 1px How big is it ? This should be a good interview question . Let's see : 1.iphone6s The resolution is 1920px * 1080px 2.iphone6s The size of the full screen capture file is 1242px * 2208p ...

  6. python web Frame :views The view function

    Django What is the life cycle of the request ? In short , adopt URL Correspondence matching -> Find the corresponding function ( Or class )-> Return string ( Or read Html Then returns the rendered string ) The anatomy is as follows : 1. When users are browsing ...

  7. Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.

    It took a long time to solve it ... The three step. : menu bar ,Tools -> Adnroid -> enable ADB integration

  8. PhpStudy How to open Apache Of gzip Compression ?

    Must let apache Support gzip function , Want to use deflate_Module and headers_Module. open apache Configuration file for httpd.conf, Around the 105 Row or so , Find the following two lines :( These two lines are not ...

  9. Use WebGL Customize 3D Camera monitoring model

    Preface With the continuous popularization and development of video monitoring network system , Webcams are more widely used in surveillance systems , Especially the advent of hd , More accelerated network camera development and application . As the number of surveillance cameras continues to grow , In the monitoring system is facing a grim situation ...

  10. Set up SSH Key

    Initial settings git config --global user.name "qian" git config --global user.email "1067803326@q ...