Problem/Motivation
The menu UI needs to deal with loading the menu tree, so we should add performance test coverage for it. Especially for the main admin menu which is huge.
This can probably be added to the standard profile or use the testing profile in a system test, since there are enough menu items from system module to test with.
Drupal\Tests\menu_ui\FunctionalJavascript\MenuPerformanceTest:testPerformance()~
Umami and standard performance tests can be used as examples.
OpenTelemetryNodePagePerformanceTest
OpenTelemetryFrontPagePerformanceTest
StandardPerformanceTest
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3476440
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bramr commentedDid your workshop at Drupalcon #Barcelona2024, i should have some time in the upcoming week to pick this up.
Comment #4
bramr commentedThink it's ready for a review.
I agree with the solution to move clearCaches into the trait as proposed by issue: #3476433.
But this is a 5 min change and also depends on what gets merged first. Happy to adapt the code either way.
Comment #5
smustgrave commented#3476433: Add performance tests for admin/content is RTBC so lets postpone this one just temporarily