Project

General

Profile

Actions

Task #54560

closed

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Story #55078: Optimize PHP code performance in TYPO3 methods

Replace JavaScriptEncoder with json_encode()

Added by Michiel Roos over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
Start date:
2013-12-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

The JavaScriptEncoder class is used a lot in the TYPO3 backend. It does expensive character conversions, character by character.

It would improve performance a lot if we use PHP native json_encode to do the encoding for us.

Please see attached screenshot.


Files


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #55499: DebugUtility shows <\u00F2 instead of </ClosedMichiel Roos2014-01-31

Actions
Precedes TYPO3 Core - Task #55009: Replace $GLOBALS['LANG']->JScharCode() with \TYPO3\CMS\Core\Utility\GeneralUtility::encodeJavaScriptString()Closed2014-01-15

Actions
Actions

Also available in: Atom PDF