#PHP Template Engine Comparison ##Speed matters... sometimes...
This benchmark tests the speed and memory consumption of PHP template engines. You can fork the project and contribute by adding your favorite template engine.
##How to run the benchmark
- Add your database login details to the
config/db.php
file (make sure the user has permission to create tables). - Run the
test.php
from your browser. Once it's completed, the results will be saved as CSV files in thecsv
folder. - To draw the results you need the Charts class, which is not released open source with this package.
- View and compare results by visiting
index.php
. - To add more engines to the test, upload the engine to the
template_engines
folder and re-create theassign
andloop
tests. Check out thephp
engine for a simple example of what is required, then add your engine to thelibrary/config.php
file.