We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Benchmarking actions in Phalcon

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?

What profilers are the recommended ones?

Thanks!



8.3k

I used: https://github.com/fabfuel/prophiler and: Phalcon\Db\Profiler()

But you have to provide data manually and do mostly everything yourself.