CKEditor 5's Functional JS tests take a long time to run

Created on 20 September 2023, about 1 year ago
Updated 29 September 2023, about 1 year ago

Problem/Motivation

On my machine, no ramdisk for mysql so a lot slower than gitlabci, but also some of the slowest functional js tests on gitlab.

 time ../vendor/bin/phpunit modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php

real	15m21.824s
user	3m31.420s
sys	0m36.982s
time ../vendor/bin/phpunit modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php 
real	6m46.141s
user	1m57.289s
sys	0m19.853s

Steps to reproduce

Proposed resolution

gitlabci / run-tests.sh concurrency does concurrent test files, not concurrent methods, so splitting these into a base class + individual test classes per method would help a lot.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
CKEditor 5 

Last updated 1 day ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024