Google Perftools模块(Google Perftools)


·摘要

这个模块可以启用google性能分析工具套件,模块在版本0.6.29增加。
要使用这个模块必须在编译时指定下列编译参数:
./configure --with-google_perftools_module
示例配置:
google_perftools_profiles /path/to/profile;
Profile以/path/to/profile.<worker_pid>存储。

·指令

google_perftools_profiles

语法:google_perftools_profiles path
默认值:none
使用字段:http, server, location
指令为从google性能分析套件中收集的文件指定一个基本文件名,程序的PID将追加到这个基本文件名后面。

·参考文档

Nginx Google Perftools Module

前进->XSLT模块(XSLT)