Benchmarking actions in Phalcon

时间:2018-02-01 18:19:46

标签: php apache benchmarking phalcon apachebench

I have been developing an app, and believe some actions might be a bit slow in a real life escenario, so I wanted to benchmark different implementations against my test data (taking into account SQL queries, for instance!), but I don't really know how to approach this in a nice manner.

So, how are individual phalcon actions benchmarked?

1 个答案:

答案 0 :(得分:1)

You can find easly profilers for phalcon on github.

Another more complex but perhaps harder to understand is to create xdebug profiler snapshot. But it will provide more accurate data and you can possibly find bottlenecks in any your code.