[BUGFIX] Cache calls to SchemaManager()->listTableColumns() 87/54087/2
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 4 Jul 2017 07:51:55 +0000 (09:51 +0200)
committerBenni Mack <benni@typo3.org>
Sat, 9 Sep 2017 21:33:25 +0000 (23:33 +0200)
commitfab339d7e1c675a875b42a62d95951851ec27f07
tree13ddb5665e70b0035fd6ad426c5dc9086bbe4d4d
parentc77ca634a674eab32d87830930711593e07cf511
[BUGFIX] Cache calls to SchemaManager()->listTableColumns()

Caching the calls SchemaManager()->listTableColumns() during runtime
leads to improved performance when doing operations on multiple files or
multiple extbase Domain/Model objects at once as the same information
does not have to be fetched over and over.

Releases: master, 8.7
Resolves: #81778
Change-Id: Ieebcf5046d007dfea40acf148045807053873ac8
Reviewed-on: https://review.typo3.org/54087
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php