PHP Classes

TBS vs Smarty

Recommend this page to a friend!

      TinyButStrong template engine  >  All threads  >  TBS vs Smarty  >  (Un) Subscribe thread alerts  
Subject:TBS vs Smarty
Summary:Comparison with Smarty Template engine
Messages:3
Author:Emmanuel Simond
Date:2012-04-02 23:42:15
Update:2012-04-11 17:47:48
 

  1. TBS vs Smarty   Reply   Report abuse  
Picture of Emmanuel Simond Emmanuel Simond - 2012-04-02 23:42:15
Is there any benchmarks or comparison with the
Smarty template engine?

Especially regarding CACHING capabilities

Intended to use for a HIGH TRAFFIC website

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Est-ce qu'il existe des tests et comparaisons
avec le moteur de templates Smarty?

+ spécifiquement au sujet des fonctionnalités de CACHE

C'est pour utiliser sur un site à FORT TRAFIC

  2. Re: TBS vs Smarty   Reply   Report abuse  
Picture of Skrol29 Skrol29 - 2012-04-09 14:42:31 - In reply to message 1 from Emmanuel Simond
Hello,

I've done some benchmarks few year ago.
TBS is quite faster than Smarty when the Smarty cache is not used.
When the Smarty cache is used then, Smarty becomes faster.

For a Hight Traffic web site, it is important to understand where are the point of optimization in your application. Do not simply lean on the cache feature. A bad query, a repeating process, a or even a bad practice of the template engine can causes more disadvantages.

  3. Re: TBS vs Smarty   Reply   Report abuse  
Picture of Emmanuel Simond Emmanuel Simond - 2012-04-11 17:47:48 - In reply to message 2 from Skrol29
Salut Skrol, Hi skrol

Right, DB queries are often the bottle necks of web apps

A Apache is slow/mem intensive compared to Nginx (or lightttpd)


Back to your great TBS:

There is a cache plugin available. Gonna test it

Where can I publish benchmarks results?