Project

General

Profile

Actions

Bug #63026

closed

Improve performance in LocalizationUtility

Added by Stefan Froemken over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Localization
Target version:
Start date:
2014-11-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Hello Core-Team,

translate method of LocalizationUtility will be called nearly 700 times in extensionmanager. With each call, also isFirstPartOfStr will be called. I know: This method is really fast, but in case of 700 calls it still needs 15-17 milliseconds.
I will provide a patch which changes the if-calls to improve performance.
In my tests this change brings 7-8 milliseconds (~50%) and is still valid in UnitTests

Stefan


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #66864: LocalizationUtility patch breaks labelsClosed2015-05-09

Actions
Actions

Also available in: Atom PDF