- 授权协议: GPL
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: https://github.com/midoks/md_xhprof
- 软件文档: https://github.com/midoks/md_xhprof/blob/master/README.md
软件介绍
md_xhprof 是 PHP性能测试工具 xhprof 的升级版,与 PHP7 配合使用。
#使用时需要设置环境变量 export USE_ZEND_DTRACE=1
安装
# 快速安装 curl -fsSL https://raw.githubusercontent.com/midoks/md_xhprof/master/scripts/install.sh | sh cd ~~/md_xhprof/src $DIR/php/$PHP_VER/bin/phpize ./configure \ --with-php-config=~~/php7/bin/php-config --enable-debug make && make install
使用方法及原因
-
PHP7编译时要使用(--enable-dtrace)
调试
-
export USE_ZEND_ALLOC=0 #关闭内存管理
-
export USE_ZEND_DTRACE=1 #开启DTRACE调试
-
yum install valgrind
-
valgrind --leak-check=full php leak.php
-
php -dvld.active=1 leak.php
C++ Concurrency in Action
Anthony Williams / Manning Publications / 2012-2-28 / USD 69.99
HIGHLIGHT C++ Concurrency in Action is the first book to market to show how to take advantage of the new C++ Standard and how to write robust multi-threaded applications in C++. DESCRIPTION With ......一起来看看 《C++ Concurrency in Action》 这本书的介绍吧!
