I'm about to rewrite simple application where speed is very important.

Which approach is faster: using the pure PHP in the HTML files or using a template engines like Smarty or Twig?

Moreover, which is parsed faster? Is the Smarty cache for example faster than using pure PHP?

Which of the template engines is the fastest?

Edit
Report