Actions
Bug #63026
closedImprove performance in LocalizationUtility
Status:
Closed
Priority:
Should have
Assignee:
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
Actions