Speed up the installer by pre-building a cache of Recipe objects in a serialized format

Created on 30 November 2024, 2 months ago

This is some mad science, so I'll fill this in later. For now, please ignore this issue unless you're me (@phenaproxima).

✨ Feature request
Status

Active

Component

Track: Installer

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Merge Requests

Comments & Activities

  • Issue created by @phenaproxima
  • Merge request !251Create a clever way to cache slow recipes β†’ (Merged) created by phenaproxima
  • Pipeline finished with Canceled
    2 months ago
    Total: 91s
    #355208
  • Pipeline finished with Failed
    2 months ago
    Total: 191s
    #355213
  • Pipeline finished with Failed
    2 months ago
    Total: 705s
    #355218
  • Pipeline finished with Canceled
    2 months ago
    Total: 265s
    #355836
  • Pipeline finished with Failed
    2 months ago
    Total: 622s
    #355838
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Not a definitive tag, but I believe this should block a stable release. The status quo is a serious performance problem that will be detrimental to getting new folks started on Drupal CMS.

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Pipeline finished with Failed
    2 months ago
    Total: 832s
    #355846
  • Pipeline finished with Failed
    2 months ago
    Total: 84s
    #355923
  • Pipeline finished with Failed
    2 months ago
    Total: 146s
    #355925
  • Pipeline finished with Canceled
    2 months ago
    Total: 193s
    #355932
  • Pipeline finished with Failed
    2 months ago
    Total: 419s
    #355935
  • Pipeline finished with Canceled
    2 months ago
    Total: 219s
    #355940
  • Pipeline finished with Failed
    2 months ago
    Total: 165s
    #355943
  • Pipeline finished with Canceled
    2 months ago
    Total: 124s
    #355949
  • Pipeline finished with Failed
    2 months ago
    Total: 227s
    #355952
  • Pipeline finished with Canceled
    2 months ago
    Total: 124s
    #355957
  • Pipeline finished with Failed
    2 months ago
    Total: 372s
    #355972
  • Pipeline finished with Failed
    2 months ago
    Total: 80s
    #355982
  • Pipeline finished with Failed
    2 months ago
    Total: 216s
    #355990
  • Pipeline finished with Failed
    2 months ago
    Total: 197s
    #355995
  • Pipeline finished with Canceled
    2 months ago
    Total: 401s
    #356002
  • Pipeline finished with Canceled
    2 months ago
    Total: 293s
    #356004
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Assigning to @tim.plunkett for review and final approval, I think.

    This is not really a Pam thing because it does not change the outward UX or behavior of the installer in any way; it's a purely technical improvement that boosts the speed. Seems unlikely that Pam would frown on it. But this kind of technical change should probably be reviewed by the tech lead. :)

  • Pipeline finished with Failed
    2 months ago
    Total: 733s
    #356010
  • Pipeline finished with Canceled
    2 months ago
    Total: 123s
    #356523
  • Pipeline finished with Canceled
    2 months ago
    Total: 186s
    #356526
  • Pipeline finished with Canceled
    2 months ago
    Total: 64s
    #356528
  • πŸ‡ΊπŸ‡ΈUnited States tim.plunkett Philadelphia

    Fantastic work!

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Pipeline finished with Failed
    2 months ago
    Total: 1534s
    #356531
  • Pipeline finished with Skipped
    2 months ago
    #356556
  • Pipeline finished with Skipped
    2 months ago
    #356557
  • Pipeline finished with Skipped
    2 months ago
    #356558
  • Pipeline finished with Skipped
    2 months ago
    #356559
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Mad science pays off sometimes. Merged into 0.x!

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

  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    This sounds great, thanks! But which times are we talking about ... like, how many seconds did the old and slower method take, and how fast did it get? Because with πŸ“Œ Add the ability to install multiple modules and only do a single container rebuild to ModuleInstaller Active and πŸ“Œ Remove the automatic cron run from the installer Needs work , Drupal 11.2-dev installs in only 5 seconds:

    The Drupal CMS UI in the browser install takes around 40 seconds, when I tried a few days ago, both with 11.1 and 11.2, which I found strange, since it seemed like the improvements in the two issues about Container and Cron didn't take effect ... Perhaps you can check if you see any time differences between 11.1 and 11.2 in Drupal CMS UI installer? Thanks!

Production build 0.71.5 2024