基准测试PHP项目的循序渐进指南 [英] Step by step guide for benchmarking PHP project
问题描述
任何人都可以指导我如何加载测试/基准测试,以普通的过程PHP(无框架)和MySQL编写,以识别瓶颈吗?
该项目使用SESSION来存储一些值.
Can anyone guide me how to load test/benchmark a project written in plain procedural PHP (no framework) and MySQL to identify the bottleneck ?
The project uses SESSION to store some values.
我是WAMP的最新版本!
I've the last version of WAMP !
[因此,我发现JMeter可以胜任这项工作,但是没有逐步指南,也没有我在JMeter的网站上找到它.向您寻求帮助.]
推荐答案
如果您想对代码进行概要分析以查明代码的哪一部分会花费所有时间,那么您正在寻找概要分析器.
对于WAMP,我建议将 xdebug分析器与
If you want to profile your code to find out, which part of it takes all the time, you're looking for a profiler.
With WAMP, I'd recommend the xdebug profiler with webgrind to visualilze the data.
On the other hand, if you want to know, how much your site can take, you should take a look at Apachebench, which should come with WAMP.
You didn't specify, how complex your benchmarking needs are, but apachebench should make it possible.
这篇关于基准测试PHP项目的循序渐进指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!