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

TechEmpower benchmarks failing a lot.

Hi,

first of all let me state that I very much enjoy Phalcon and am very pleased by it's features and speed so far. Having said that, I'm a little worried about the benchmark results at https://www.techempower.com/benchmarks/#section=data-r8&hw=i7&test=query

Phalcon full stack is the 4th from the end on that benchmark and has a lot of failed runs. This is a "little" disturbing. The test itself seems straightforward: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/php-phalcon/app/controllers/BenchController.php The queriesAction which is responsible for the results in question is just a bunch of random findFirst calls.

The same goes for other tests there. Phalcon seems to have lowest success rate in both "Single query" and "Fortunes" test types.

Have you guys seen that benchmark? Any thoughts? Maybe the test itself is messed up, but I don't see how. The one thing that comes to mind is the PHQL layer, which might be responsible.



2.2k

Btw, new round of benchmarks is released. Phalcon is around 50% in multiple query test, competing with some Java frameworks. So, a great score! No failures this time. Strangely the tested version is still 1.0.0. Either way I'm happy :) GJ guys!

https://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=query