Project

General

Profile

Actions

Bug #57953

closed

Rendering time of HMENU is really bad, maybe bug?

Added by Florian Schwaiger almost 10 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2014-04-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
large-site,performance,menu
Complexity:
Is Regression:
No
Sprint Focus:

Description

We use the following menu on every page.

Because of expAll = 1 on the first two levels, the menu is by far the slowest element on the pages. This Bug has been adressed in Ticket (http://forge.typo3.org/issues/23486) so far, but was closed due to missing feedback.
Also I am unsure whether this is actually the problem, but in combination with two other menus on the page it is responsible for 90% of the processing time.

60 = HMENU
    60 {
        entryLevel = 1

        1 = TMENU
        1 {
            expAll = 1

            NO.allWrap = <li>|</li>
            NO.ATagTitle.field = abstract // description // title

            ACT = 1
            ACT.wrapItemAndSub = <li class="active">|</li>
            ACT.ATagTitle.field = abstract // description // title

            IFSUB = 1
            IFSUB.ATagTitle.field = abstract // description // title
            IFSUB.stdWrap.wrap = |&nbsp;<span class="text-muted">/ ...</span>
            IFSUB.stdWrap2.wrap = |<ul class="nav collapse">
            IFSUB.wrapItemAndSub (
                <li class="sub">
                    <a href="#" title="Untermenü aufklappen" class="sidebar-dropdown-btn" 
                                data-toggle="collapse" data-parent="#sidebar .panel-body.nav">
                        <span class="caret"></span>
                    </a>
                    |</ul>
                </li>
            )

            ACTIFSUB < .IFSUB
            ACTIFSUB.stdWrap2.wrap = |<ul class="nav collapse in">
            ACTIFSUB.wrapItemAndSub (
                <li class="active sub">
                    <a href="#" title="Untermenü aufklappen" class="sidebar-dropdown-btn" 
                                data-toggle="collapse" data-parent="#sidebar .panel-body.nav">
                        <span class="caret"></span>
                    </a>
                    |</ul>
                </li>
            )

            CURIFSUB < .ACTIFSUB

            wrap = <ul id="sidebar-menu" class="panel-body nav">|</ul>
        }

        2 < .1
        2.wrap >

        3 = TMENU
        3 {
            NO.allWrap = <li>|</li>
            NO.ATagTitle.field = abstract // description // title

            ACT = 1
            ACT.wrapItemAndSub = <li class="active">|</li>
            ACT.ATagTitle.field = abstract // description // title

            ACTIFSUB < .ACT
            CURIFSUB < .ACT
        }

        wrap = <div id="sidebar-menu" class="panel-collapse collapse in">|</div>
    }

Files

PHPinfo_Localhost.html (99.4 KB) PHPinfo_Localhost.html phpinfo local Florian Schwaiger, 2014-04-22 09:45
PHPinfo_Staging.html (97.7 KB) PHPinfo_Staging.html phpinfo remote (slow) Florian Schwaiger, 2014-04-22 09:45
Status_Localhost.txt (28.6 KB) Status_Localhost.txt mysql status local Florian Schwaiger, 2014-04-22 09:45
Status_Staging.txt (25.2 KB) Status_Staging.txt mysql status remote (slow) Florian Schwaiger, 2014-04-22 09:45
Cattura_a_1500pages.PNG (30.8 KB) Cattura_a_1500pages.PNG around 1500 pages added Riccardo De Contardi, 2017-09-11 18:00
Cattura_a_6000pages.PNG (29.2 KB) Cattura_a_6000pages.PNG around 6000 pages added Riccardo De Contardi, 2017-09-11 18:00
Cattura_a_9000pages.PNG (24.1 KB) Cattura_a_9000pages.PNG around 9000 pages added Riccardo De Contardi, 2017-09-11 18:00
Cattura_a_3000pages.PNG (29 KB) Cattura_a_3000pages.PNG around 3000 pages added Riccardo De Contardi, 2017-09-11 18:00
profiling-hmenu.png (368 KB) profiling-hmenu.png Jonas Ulrich, 2018-06-07 12:13

Related issues 6 (1 open5 closed)

Related to TYPO3 Core - Bug #23486: nested menu generates huge number of mysql queriesClosed2010-08-31

Actions
Related to TYPO3 Core - Bug #63550: Menu configuration caching disabled by ineffective type checksClosed2014-12-03

Actions
Related to TYPO3 Core - Bug #87729: MenuProcessor can't cacheClosed2019-02-18

Actions
Related to TYPO3 Core - Bug #91208: Performance issue in PageRepository for Mega MenusClosedStefan Froemken2020-04-27

Actions
Related to TYPO3 Core - Epic #93547: Collection of problems with large sitesAccepted2021-02-19

Actions
Related to TYPO3 Core - Bug #98964: Menu object caching creates too many records resulting in huge cache_hash tableClosed2022-11-01

Actions
Actions

Also available in: Atom PDF