Feature #19513

Instantiate time tracker as null object if not really required

Added by Oliver Hader over 12 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2008-10-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

In the TYPO3 front-end an instance of t3lib_timeTrack is created in the variable $TT. During the front-end rendering process the time required to parse and execute several scripts and modules are stored using this object.

However, that object is not required in production environments and reduces performance a lot. The solution would be to use a null object in general and only use the current time tracker if a website admin has the admin panel enabled in the front-end to get detailed information about the rendering process.

(issue imported from #M9657)


Files

9657v0.diff (12.7 KB) 9657v0.diff Administrator Admin, 2008-10-31 18:59
9657v1.diff (14.3 KB) 9657v1.diff Administrator Admin, 2008-11-05 01:27
9657v2.diff (9.54 KB) 9657v2.diff Administrator Admin, 2009-08-31 16:25
9657v3.diff (9.16 KB) 9657v3.diff Administrator Admin, 2009-09-02 13:12

Related issues

Has duplicate TYPO3 Core - Bug #20755: Frontend rendering is slowed down by timetrackingClosedRupert Germann2009-07-14

Actions

Also available in: Atom PDF