mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Update benchmark result
This commit is contained in:
parent
c439ef9345
commit
125908d0cf
@ -5,49 +5,50 @@ To start benchmark run script `benchmark/run.php`.
|
||||
|
||||
### Smarty3 vs Twig vs Fenom
|
||||
|
||||
PHP 5.4.11
|
||||
Smarty3 vs Twig vs Fenom
|
||||
|
||||
Printing of varaibles
|
||||
Generate templates... Done
|
||||
|
||||
smarty3: !compiled and !loaded 8.7919 sec, 21.1 MiB
|
||||
smarty3: compiled and !loaded 0.0341 sec, 16.4 MiB
|
||||
smarty3: compiled and loaded 0.0028 sec, 16.4 MiB
|
||||
Testing a lot output...
|
||||
smarty3: !compiled and !loaded 3.9101 sec, 15.1 MiB
|
||||
smarty3: compiled and !loaded 0.0235 sec, 9.3 MiB
|
||||
smarty3: compiled and loaded 0.0015 sec, 9.3 MiB
|
||||
|
||||
twig: !compiled and !loaded 3.9040 sec, 67.5 MiB
|
||||
twig: compiled and !loaded 0.0337 sec, 16.1 MiB
|
||||
twig: compiled and loaded 0.0027 sec, 16.1 MiB
|
||||
twig: !compiled and !loaded 1.8725 sec, 68.9 MiB
|
||||
twig: compiled and !loaded 0.0337 sec, 17.0 MiB
|
||||
twig: compiled and loaded 0.0013 sec, 17.0 MiB
|
||||
|
||||
fenom: !compiled and !loaded 1.0142 sec, 8.8 MiB
|
||||
fenom: compiled and !loaded 0.0167 sec, 6.1 MiB
|
||||
fenom: compiled and loaded 0.0024 sec, 6.1 MiB
|
||||
fenom: !compiled and !loaded 0.3157 sec, 8.9 MiB
|
||||
fenom: compiled and !loaded 0.0159 sec, 6.6 MiB
|
||||
fenom: compiled and loaded 0.0012 sec, 6.6 MiB
|
||||
|
||||
Iterating of array ({foreach})
|
||||
|
||||
smarty3: !compiled and !loaded 0.0369 sec, 5.7 MiB
|
||||
smarty3: compiled and !loaded 0.0048 sec, 3.1 MiB
|
||||
smarty3: compiled and loaded 0.0039 sec, 3.1 MiB
|
||||
Testing 'foreach' of big array...
|
||||
smarty3: !compiled and !loaded 0.0355 sec, 5.8 MiB
|
||||
smarty3: compiled and !loaded 0.0032 sec, 3.1 MiB
|
||||
smarty3: compiled and loaded 0.0024 sec, 3.1 MiB
|
||||
|
||||
twig: !compiled and !loaded 0.0810 sec, 4.3 MiB
|
||||
twig: compiled and !loaded 0.0605 sec, 2.9 MiB
|
||||
twig: compiled and loaded 0.0550 sec, 2.9 MiB
|
||||
twig: !compiled and !loaded 0.0799 sec, 4.7 MiB
|
||||
twig: compiled and !loaded 0.0065 sec, 3.2 MiB
|
||||
twig: compiled and loaded 0.0054 sec, 3.5 MiB
|
||||
|
||||
fenom: !compiled and !loaded 0.0093 sec, 3.0 MiB
|
||||
fenom: compiled and !loaded 0.0033 sec, 2.4 MiB
|
||||
fenom: compiled and loaded 0.0027 sec, 2.4 MiB
|
||||
fenom: !compiled and !loaded 0.0459 sec, 3.1 MiB
|
||||
fenom: compiled and !loaded 0.0024 sec, 2.5 MiB
|
||||
fenom: compiled and loaded 0.0017 sec, 2.5 MiB
|
||||
|
||||
Inheriting of templates ({extends})
|
||||
|
||||
smarty3: !compiled and !loaded 0.6374 sec, 9.8 MiB
|
||||
smarty3: compiled and !loaded 0.0009 sec, 3.0 MiB
|
||||
smarty3: compiled and loaded 0.0001 sec, 3.0 MiB
|
||||
Testing deep 'inheritance'...
|
||||
smarty3: !compiled and !loaded 0.3984 sec, 10.2 MiB
|
||||
smarty3: compiled and !loaded 0.0009 sec, 3.1 MiB
|
||||
smarty3: compiled and loaded 0.0001 sec, 3.1 MiB
|
||||
|
||||
twig: !compiled and !loaded 0.5568 sec, 11.1 MiB
|
||||
twig: compiled and !loaded 0.0255 sec, 6.3 MiB
|
||||
twig: compiled and loaded 0.0038 sec, 6.3 MiB
|
||||
twig: !compiled and !loaded 0.2897 sec, 11.2 MiB
|
||||
twig: compiled and !loaded 0.0197 sec, 6.5 MiB
|
||||
twig: compiled and loaded 0.0019 sec, 6.5 MiB
|
||||
|
||||
fenom: !compiled and !loaded 0.1222 sec, 3.9 MiB
|
||||
fenom: compiled and !loaded 0.0004 sec, 2.4 MiB
|
||||
fenom: compiled and loaded 0.0000 sec, 2.4 MiB
|
||||
fenom: !compiled and !loaded 0.0546 sec, 3.2 MiB
|
||||
fenom: compiled and !loaded 0.0005 sec, 2.5 MiB
|
||||
fenom: compiled and loaded 0.0000 sec, 2.5 MiB
|
||||
|
||||
* **!compiled and !loaded** - template engine object created but parsers not initialized and templates not compiled
|
||||
* **compiled and !loaded** - template engine object created, template compiled but not loaded
|
||||
|
Loading…
Reference in New Issue
Block a user