Skip to content

Tauri: Lagging Text Editor #1982

Description

@lunar-seal

Describe the bug

I have about 100 devices due to testing in my matrix account.

On typing, this seems to sometimes cause lag.
Looking at a profiler, this seems to make the main thread execute cryptography in the sdk.

As Sable on tauri doesnt have webworkers and execs this on the main thread this is an issue.

Image

Curiosly, turning of typing indicators seem to alleviate this behavior.

Reproduction

  1. have an account with more than 100 devices (keys)
  2. type a multi sentence message kinda quickly in sable tauri

Expected behavior

I don't know if that much can be done fixing this properly short of migrating to properly async rust crypto.

Platform and versions

Sable Tauri Cef (0014862)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions