Huge performance gain when needsRebuild in content plugin checks entity type

Created on 28 October 2024, about 2 months ago

Problem/Motivation

Huge performance gain when needsRebuild in content plugin checks entity type.

The needs rebuild is, I think, almost everytime true because the AdminToolbarContentContentPlugin.php returns true if there is a setting for recent content.

Check the entity type.
This drastically improved performance on our Oauth calls (from 3s to 400ms).

Enjoy

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium mschudders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024