Skip to content

100% CPU usage in CryptoStore::get_user_identity #29789

Closed
@ndren

Description

@ndren

Steps to reproduce

Somewhat frequently Element starts spending a large amount of CPU cycles in the background. It seems that it relates to CryptoStore::get_user_identity.

Outcome

Reproduction is somewhat inconsistent, but generally going to Element then switching to a different tab will do the trick.

Firefox Profiler output: https://share.firefox.dev/42C6quy

Operating system

Arch Linux

Browser information

Firefox 137.0.2

URL for webapp

N/A

Application version

1.11.97, Rust SDK 0.10.0 (3cc301d), Vodozemac 0.9.0

Homeserver

N/A

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Element-RIssues affecting the port of Element's crypto layer to RustA-PerformanceO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions