I am considering Smarty as my web app templating solution, and I am now concerned with its performance against plain PHP.
The Smarty site says it should be the same, however, I was not able to find anyone doing real benchmarking to prove the statement right or wrong.
Did anyone do some benchmarking of Smarty vs plain PHP? Or maybe come across some resources on such tests?
Because in the end, Smarty compiles and caches the templates files to native PHP-code, there is indeed no theoretical performance difference. Of course there will always be some performance loss due to the chunk of Smarty-code that needs to be interpreted every time.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki