Problem/Motivation

\Drupal\ckeditor5_plugin_pack\Utility\LibraryVersionChecker does a some work in the constructor. The YAML parsing for core.libraries.yml is slow. 32 ms in my benchmark.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3587746-1.patch2.14 KBwebflo
Command icon 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

webflo created an issue. See original summary.

webflo’s picture

Status: Active » Needs review
StatusFileSize
new2.14 KB

32 ms down to 23 µs

salmonek’s picture

Status: Needs review » Reviewed & tested by the community

Hi Florian

Thank you for the update. We'll have a release probably next week, with your patch included.

  • salmonek committed b331d75a on 1.5.x authored by webflo
    Issue #3587746: Avoid YAML parsing, cache CKE version in cache.discovery
    
salmonek’s picture

Status: Reviewed & tested by the community » Fixed

Released in 1.5.3

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.