Bug #63026
closed
Improve performance in LocalizationUtility
Added by Stefan Froemken almost 10 years ago.
Updated about 7 years ago.
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
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34266
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34266
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34266
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34266
- Target version changed from 7.0 to 7.1 (Cleanup)
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34266
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF