Project

General

Profile

Actions

Bug #81106

closed

Dramatic performance decrease after update to 8.7.1

Added by Steffen Wargalla about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2017-05-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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!

Actions #1

Updated by Stephan Großberndt about 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

Actions #2

Updated by Steffen Wargalla about 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.

Actions #3

Updated by Tymoteusz Motylewski about 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 

Actions #4

Updated by Claus Due about 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/

Actions #5

Updated by Steffen Wargalla about 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.

Actions #6

Updated by Gerrit Code Review about 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

Actions #7

Updated by Gerrit Code Review about 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

Actions #8

Updated by Gerrit Code Review about 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

Actions #9

Updated by Gerrit Code Review about 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

Actions #10

Updated by Anonymous about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF