Skip to content

Input new message is sometimes very slow (blocking for some seconds) #21612

@HerrBlauwasser

Description

@HerrBlauwasser

Steps to reproduce

Type a new message.

Outcome

What did you expect?

The message appears immediately while typing.

What happened instead?

The page blocks and the message appears seconds after typing.

The keydown event handler ist blocking for several seconds, caused by getDevicesInRoom(). Please find attached a screenshot of the performance inspector.

element-input-slow

Operating system

Linux

Browser information

Version 99.0.4844.74 (Official Build) (64-bit)

URL for webapp

No response

Application version

Element Version: 1.10.7 Olm Version: 3.2.8

Homeserver

Synapse 1.55.0

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerA-E2EEA-PerformanceHacktoberfestIssues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/Help WantedExtra attention is neededO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defectgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions