安装和使用Google perftools
来源:互联网 发布:数控精雕机编程 编辑:程序博客网 时间:2024/06/05 00:59
最近需要优化内存分配的效率和速度, 加上Nginx的使用, 所以选择了Google Perftools这个工具. 现在把安装过程详细列出来:
1. 由于google被墙, 所以选择用git下载源码:
git clone https://github.com/gperftools/gperftools
2. 进入gperftools目录:
cd gperftools
3. 需要安装必要的包 automake, autoconf, libtool和libunwind
查找libunwind
yum search libunwind
然后选择libunwind-dev相同或相似的开发者包
4. 查阅INSTALL, 里面有这么一段
But, in order to build gperftools checked out from subversionrepository you need to have autoconf, automake and libtoolinstalled. And before running ./configure you have to generate it (anda bunch of other files) by running ./autogen.sh script. That scriptwill take care of calling correct autotools programs in correct order.所以,我们需要先运行 ./autogen 来生成 ./configure
4. 接下来就是传统的Linux安装三板斧:
./configure
make
make install
(配置和使用更新中)
0 0
- 安装和使用Google perftools
- google-perftools安装
- 安装google perftools
- google-perftools安装方法
- google-perftools简明使用
- Google perftools 安装手记(TCMalloc)
- 使用Google PerfTools 优化Nginx
- Google Perftools简介与使用
- Google Perftools简介与使用
- Google Perftools简介与使用
- Google Perftools简介与使用
- google-perftools
- google perftools
- google-perftools
- Google perftools
- google-perftools安装以及其配置优化
- 使用 google-perftools 剖析程序性能瓶颈
- 使用 google-perftools 剖析程序性能瓶颈
- js setInterVal()实时显示时间、日期
- Makefile常用调试方法
- eclipse中将maven工程变成普通的web工程,添加到tomcat
- Facebook面试题 Moving positive, negative and zeros in an array
- Yii2中如何使用CodeCeption
- 安装和使用Google perftools
- Hadoop启动、作业提交及错误修改
- SharePoint2013简单部署
- 27 Python 代码调试技巧
- memcachedb让memcache的数据持久化
- C++学习笔记
- Clang Static Analyzer源码分析说明
- iOS动画中的枚举UIViewAnimationOptions
- Spring学习笔记-C7-SpringMVC高级技术