我如何对我的 PHP/MYSQL 新闻网站进行基准测试/分析,以便稍后可以将其与 django/postgres 重新编码的版本进行比较?

发布于 2024-08-23 20:48:31 字数 70 浏览 5 评论 0原文

我正在寻找某种类型的分析实用程序,我可以使用它来比较两种不同的设置与某种一致性因素。如果有人能指出我正确的方向,我将不胜感激。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三生路 2024-08-30 20:48:31

尝试围攻

Siege 是一个回归测试和基准测试实用程序。它可以使用用户定义的模拟用户数量对单个 URL 进行压力测试,也可以将多个 URL 读入内存并同时对它们进行压力测试。该程序报告记录的命中总数、传输的字节数、响应时间、并发性和返回状态。 Siege 支持 HTTP/1.0 和 1.1 协议、GET 和 POST 指令、cookie、事务日志记录和基本身份验证。其功能可根据每个用户进行配置。

为了分析应用程序本身,您需要一个针对各自语言的分析器,例如 PHP 中的 XDebug 或 ZendDebugger(不知道 python 有什么)。

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.

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文