Skip to content

[Performance] People page still freezes on Safari #25713

@RT216

Description

@RT216

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

I am still experiencing severe UI freezing/lag on the "People" page using Safari, despite the lazy-loading fix implemented in #23682.

While PR #23682 correctly addressed the network bottleneck (reducing simultaneous requests reported in #23681), it did not address the CPU/Main Thread bottleneck caused by mounting hundreds of components simultaneously on Safari.

The OS that Immich Server is running on

Version of Immich Server

v2.5.2

Version of Immich Mobile App

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Macbook Pro M1

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

  1. Browser: Safari (26.2) on macOS (15.7.3).
  2. Open /people with ~700 identified people
  3. Behavior: The page freezes completely for 10-15 seconds.
  4. Comparison: The same page loads smoothly on Edge/Chrome on the same machine.

Relevant log output

Additional information

This is a follow-up to closed issue #23681. The previous fix solved the network congestion but unmasked this rendering bottleneck.

I profiled the performance using Safari's Web Inspector. The bottleneck is Client-Side Scripting, not Network.
The Svelte ⁠flush loop blocks the Main Thread for over 12 seconds.

Image

We likely need Virtual Scrolling (Virtualization) for the People grid to only render visible DOM nodes, similar to how the main Timeline view works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions