[TYPO3-mvc] Performance of $persistenceManager->persistAll() (Dispatcher) and findAll() (Repository)
Dominik Stankowski
dominik at yejj.com
Mon Jan 11 08:32:41 CET 2010
Hi all
Thank you so much for all the work done on extbase and fluid. We are
currently developing an Intranet application and it is a lot of fun
working with extbase and fluid.
Now that we see everything play together, we experience some performance
issues which we have tracked down to the two functions
(1) findAll() in Repository.php and
(2) $persistenceManager->persistAll()
which seems pretty obvious, as these functions do most of the "hard" work.
However, I was wondering if there is a way to improve performance
slightly, as both methods consume about 5s each to load 300 records
(with 2 sub-records each - let's call them "type" and "cat"). The whole
page loads in about 12s.
For findAll(), we have applied lazy loading where possible which has
slightly improved the output. Is there a way the objects could be cached
so that they would be available with the next call instead of being
loaded again?
For the persistence manager, I am wondering if there would be a way to
enable/disable it, especially for views which are not modifying data.
Thank you for your hints.
Dominik
More information about the TYPO3-project-typo3v4mvc
mailing list