[BUGFIX] Cache calls to SchemaManager()->listTableColumns() 91/53391/3
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:12:45 +0000 (23:12 +0200)
commit20eeb0b31a986f15ae552944ba5ea7c70fd7038b
tree6f1bb0655a53872ff22e62649a102f273f141ef2
parent2da714aab69d7737aa4508d2bf444a63ae11caf8
[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/53391
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Steffen Frese <steffenf14@gmail.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