Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how install xhprof for php 5.6 on windows

Tags:

xhprof

How to install the extension Xhprof on Windows for php-5.6? I found only this link: http://windows.php.net/downloads/pecl/releases/xhprof/0.10.6/

like image 856
R.Gleb Avatar asked Jun 18 '15 20:06

R.Gleb


People also ask

What is XHProf in php?

XHProf is a light-weight hierarchical and instrumentation based profiler. During the data collection phase, it keeps track of call counts and inclusive metrics for arcs in the dynamic callgraph of a program.


1 Answers

XHProf was developed by Facebook and abandoned when they moved to HHVM. There is now a fork of the project called Tideways that promises to add support for PHP versions 5.6 and 7.

Unfortunately Tideways has renamed the functions their library provides so it won't be a simple drop-in replacement. Also, their Windows support seems to be pretty much WIP and their builds are failing a lot. If you feel lucky, you could try downloading the latest successfully built artifact from their AppVeyor project but for now it will make sense to do your profiling work on PHP 5.5 or some other platform than Windows.

like image 112
Kaivosukeltaja Avatar answered Oct 14 '22 20:10

Kaivosukeltaja