Skip to content

[6.x] Updates page performance #13689

@JonKaric

Description

@JonKaric

Bug description

The update page is causing the main thread to become blocked.

Updater page - /cp/updater/statamic

Image

Since this page loads every changelog since 3.0 the size of the page is big. I'm guessing the first long running task is the Inertia cycle for grabbing the content.

The second is the browser doing the layout calculations. The content-visibility css property could go a long way here as a quick fix but I'm guessing these need paginating or caching or somethin

How to reproduce

  • Go to Chrome
  • Go to any page in the control panel
  • Go to the performance tab in devtools
  • Click 'Record'
  • Click the Updates page
  • Look at the 'Main' accordion to see the main thread work

You can resize the page while being in record mode to confirm if there are large layout tasks being done (in this case there is).

Logs

Environment

Application Name: Statamic
Laravel Version: 12.48.1
PHP Version: 8.4.15
Composer Version: 2.9.2
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-beta.4 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions