Add JSON:API performance tests

Created on 4 April 2024, 10 months ago

Problem/Motivation

Spin off from Introduce a list of "common cache tags" to reduce lookup query amount Active .

We should add performance test coverage of JSON:API, currently this will need to be FunctionalJavascript testing which isn't technically needed for JSON:API but should work as long as it's for GET requests.

We could also add a FunctionalTest version of PerformanceTestBase using PerformanceTestTrait which skips all the chromedriver-specific logic, this might require a bit of moving things around, but not too much hopefully.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated 43 minutes ago

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

  • Issue created by @catch
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    +1 😄

    Although I wonder how representative this would be of the real world, where JSON:API performance problems likely only appear on sites with either a huge number of (content) entities or very complex (content) entity types (i.e. with lots of fields on them).

Production build 0.71.5 2024