php - Are there options to improve the login speed and the general performance in TYPO3 10?

one text

Introduction

We run a lot of TYPO3 7.6 and TYPO3 10.4 installations only as a Backend for frontend applications. We programmed several middlewares and extbase plugins to manage our data.

Problem

After migration from TYPO3 7.6 to TYPO3 10.4 the general execution performance is significantly slower. For example to login a frontend user. TYPO3 7.6 runs with PHP 7.0 and TYPO3 10.4 with PHP 7.4.

PHP performance tests

First I tested the general performance of PHP with a small benchmark script. The result is, that PHP 7.4 is around 30% faster than PHP 7.0. I made this tests locally with docker containers on the same hardware. Opcode Caching is up and running.

So TYPO3 should execute 30% faster with PHP 7.4. But it is not the case. It is slower.

TYPO3 performance tests

So I make several performance tests with TYPO3 7.6 LTS, TYPO3 10.4 LTS and also TYPO3 11.1. The general execution speed is very different. I installed a standard TYPO3 for this 3 versions, added only a login form and measure the response times.

TYPO3 version Action Response time in ms Times slower compared to TYPO3 7.6
7.6 Frontend user login 185
10.4 Frontend user login 759 4.1
11.1 Frontend user login 802 4.3
7.6 Frontend user logout 26
10.4 Frontend user logout 185 7.2
11.1 Frontend user logout 187 7.3

Source