3 ms·
I just don't understand how could Symfony2 be so fast considering it's pretty huge (twig itself is already huge). I guess it's time I consider switching from C
by baby 14y ago
I just don't understand how could Symfony2 be so fast considering it's pretty huge (twig itself is already huge).
I guess it's time I consider switching from CI.
- nakovet 14y agoIt's a matter of cache, APC cache, memcached, "compiled" autoload cache, there are many levels of caching in symfony, and boom, you have speed because many of your hits are hitting the ram memory.
- josh-j 14y agoI think you've got the charts backwards. Symfony2 is slower than CI in every chart.
- baby 14y agooh...
- camus 14y agoSymfony caches everything , dumping resources ( configs , templates , ... ) into PHP files. So when you are using Twig on a production server you are not actually reading twig files but basic PHP files with echo statements.