Bug #81106
closedDramatic performance decrease after update to 8.7.1
100%
Description
Hi guys,
I updated from Typo3 7.6.16 to LTS 8 two days ago and everything works fine so far. But I recognized that uncached page rendering times increased by nearly 8 times. A page which loads in 1-2 seconds without cache before the update, now needs around 12 to 15 seconds to generate. I guess this is related to FLUID rendering because I observed a similar issue some time ago while using a bunch of Fluid templates, basically developed in TYPO 7, in Typo3 6.2. In Typo3 6.2 page rendering was really slow while in 7.6 everything was fine.
Generally I wonder because Typo 8 was announced to bring huge performance increases which I can confirm so far considering cached page load which is indeed fast. THANK YOU. But uncached its unacceptable for developing and testing.
Due to data protection I can't provide an example link at the moment. But can somebody give a hint on that issue. Does somebody experienced a similar behaviour after updating to Typo3 8.
Thank you so much!
Updated by Stephan Großberndt over 7 years ago
- Status changed from New to Needs Feedback
Please provide an example of the fluid construct you are using which has worse performance in TYPO3 8.7
Updated by Steffen Wargalla over 7 years ago
Hi Stephan,
I'm using nothing special inside my fluid templates, no big f:for loops or something like that. The template in use is based on the bootstrap_package and adopt the way content element are setup there. Each content element is a FLUIDTEMPLATE with 2 partials each in average. A general start page has around 25 content elements. I made some tests by reducing the content elements on the start page and found that there is no specific content element causing the performance loss. It seems that fluid rendering in general is just a lot slower than in Typo3 7.
That's a real proplem imho. But so is it.
Updated by Tymoteusz Motylewski over 7 years ago
Hi Steffen,
Can you compare the output of the times shown in the admin panel in v7 and v8?
config.admPanel = 1
Updated by Claus Due over 7 years ago
Watch out for `f:switch` (widely used in bootstrap_package). It forcibly disables compiling of templates.
See also https://review.typo3.org/#/c/52520/
Updated by Steffen Wargalla over 7 years ago
Thanks to both Tymoteusz and Claus! The f:switch construct is widely used in my templates, so this could be a real performance killer. I thought that this issue is fixed in Typo3 8, but it doesn't seem to be. Thank you.
Tymoteusz, I currently can't compare the render times of the V7 and V8 version of the site. As mentioned earlier, what I observed is, that the rendering time increased significantly throughout the fluid parts of the page rendering process.
After changing some PHP settings and switching to FASTCGI, uncached rendering times are now acceptable again for developing. In terms of my comparison above, the render time is about 5-6 seconds.
I will try to push it further by removing/substituting f:switch tags.
Updated by Gerrit Code Review over 7 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52915
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52915
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52915
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52915
Updated by Anonymous over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e3f9895f72825bfa93ad2bfaa36cdd78140ddd4b.