Skip to content

Large amount of membership change events causes lag/cpu spike #17650

@alvinhochun

Description

@alvinhochun

Description

If there is a large amount of membership change events in a room, it causes the Element web client to go crazy, dragging the performance of the browser and the whole system down, and have a hard time showing any logs before that.

Steps to reproduce

  • Find a room with log enabled and with a lot of membership change events in the history???
  • Scroll up

Describe how what happens differs from what you expected.

Logs being sent: yes/no

Room in Element web (https://webchat.kde.org/#/room/#krita:kde.org):
圖片

Same room viewed on Element Android:
圖片

Version information

  • Platform: web

For the web app:

  • Browser: Firefox 90b7
  • OS: Windows
  • URL: webchat.kde.org

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