I'm looking for some type of profiling utility I could use where I can compare between 2 different setups with some sort of consistency factor. Would appreciate if anyone could point me in the right direction.
我正在寻找某种类型的分析工具,我可以用它来比较两种不同的设置和某种一致性因素。如果有人能给我指出正确的方向,我将不胜感激。
2 个解决方案
#1
2
Assuming Apache - http://httpd.apache.org/docs/2.0/programs/ab.html
如果Apache - http://httpd.apache.org/docs/2.0/programs/ab.html
#2
1
Try Siege:
试着围攻:
Siege is a regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously. The program reports the total number of hits recorded, bytes transferred, response time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1 protocols, GET and POST directives, cookies, transaction logging, and basic authentication. Its features are configurable on a per user basis.
攻城是一个回归测试和基准工具。它可以使用用户定义的模拟用户数量来测试单个URL,也可以将多个URL读入内存并同时对它们进行重音。该程序报告记录的点击总数、传输的字节数、响应时间、并发性和返回状态。攻城支持HTTP/1.0和1.1协议、获取和发布指令、cookie、事务日志记录和基本身份验证。它的特性可以根据用户的不同进行配置。
For profiling the applications themselves, you'd need a profiler for their respective languages, e.g. XDebug or ZendDebugger in PHP (don't know what's there for python).
要分析应用程序本身,需要为它们各自的语言提供一个分析器,例如PHP中的XDebug或ZendDebugger(不知道python有什么)。
#1
2
Assuming Apache - http://httpd.apache.org/docs/2.0/programs/ab.html
如果Apache - http://httpd.apache.org/docs/2.0/programs/ab.html
#2
1
Try Siege:
试着围攻:
Siege is a regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously. The program reports the total number of hits recorded, bytes transferred, response time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1 protocols, GET and POST directives, cookies, transaction logging, and basic authentication. Its features are configurable on a per user basis.
攻城是一个回归测试和基准工具。它可以使用用户定义的模拟用户数量来测试单个URL,也可以将多个URL读入内存并同时对它们进行重音。该程序报告记录的点击总数、传输的字节数、响应时间、并发性和返回状态。攻城支持HTTP/1.0和1.1协议、获取和发布指令、cookie、事务日志记录和基本身份验证。它的特性可以根据用户的不同进行配置。
For profiling the applications themselves, you'd need a profiler for their respective languages, e.g. XDebug or ZendDebugger in PHP (don't know what's there for python).
要分析应用程序本身,需要为它们各自的语言提供一个分析器,例如PHP中的XDebug或ZendDebugger(不知道python有什么)。