[FEATURE][Performance] Add caches for persistence layer
authorDaniel Pötzinger <poetzinger@aoemedia.de>
Sat, 14 Apr 2012 19:30:56 +0000 (21:30 +0200)
committerFelix Oertel <mehl@foertel.com>
Sat, 21 Jul 2012 15:17:36 +0000 (17:17 +0200)
commit74ed6a82cdd2335cdb02d0bfb2d6e120a87f03b0
treed9af1af4bc9381df59869032097ad9f1f3926656
parent38ba2df3dbd9c98960d625fafc52e2c06dbf26a9
[FEATURE][Performance] Add caches for persistence layer

XDEBUG Profiler shows time saving possibilities in
Tx_Extbase_Persistence_Storage_Typo3DbBackend->addEnableFieldsStatement
(use of db->admin_get_fields) and
Tx_Extbase_Persistence_Mapper_DataMapFactory->buildDataMap

Caches should be added here. Also to be able to inject the cacheManager
the Container needs a small fix

Change-Id: I5c2defcfaa58c6454226d1abf938b6b6796b5232
Resolves: #36074
Releases: 6.0
Reviewed-on: http://review.typo3.org/10498
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
typo3/sysext/extbase/Classes/Object/Container/Container.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Tests/Unit/Persistence/Mapper/DataMapFactoryTest.php
typo3/sysext/extbase/ext_localconf.php