This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle
Fabien Potencier 3e2ba60738 merged branch geoffreytran/assetic-debug-performance (PR #1728)
Commits
-------

8e169e4 Improved performance when assetic's use_controller is enabled

Discussion
----------

Improved performance when assetic's use_controller is enabled

When assetic's use_controller is enabled, assetic has to loop through all the templates and create TemplateReferences through the assetic FileResource. This in turn causes a lot of calls to getLogicalName() leading to 5x the calls to the TemplateReference's get() (16k in my case). By accessing the protected field directly compared to using get() we achieve better performance during development (33% in my case).

---------------------------------------------------------------------------

by beberlei at 2011/07/18 11:22:43 -0700

+1 - assetic is a huge performance drain for my app in dev mode aswell.
2011-07-18 20:57:08 +02:00
..
DoctrineAbstractBundle Remove useless code 2011-07-04 14:08:20 +02:00
DoctrineBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00
FrameworkBundle merged branch geoffreytran/assetic-debug-performance (PR #1728) 2011-07-18 20:57:08 +02:00
MonologBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00
SecurityBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00
SwiftmailerBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00
TwigBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00
WebProfilerBundle updated all core extensions to use the new shortcut method 2011-07-18 17:46:00 +02:00