Project

General

Profile

Actions

Bug #20393

closed

Optimize hook to indexed_search that checks for a running crawler task

Added by Oliver Hader almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2009-05-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In indexed_search there's a hook defined that gets called from TSFE->headerNoCache() to determine whether the crawler is currently running. However, to do that simple check, the whole indexer PHP class file is loaded which could be avoided.

Thus, the method user for this hook gets extracted to a slim separate file.

Profiling tests show that this call took 10ms before and 1ms afterwards.

(issue imported from #M11033)


Files

0011033.patch (4.96 KB) 0011033.patch Administrator Admin, 2009-05-06 15:42
Actions #1

Updated by Oliver Hader almost 15 years ago

Committed to SVN Trunk (rev. 5571)

Actions

Also available in: Atom PDF