Skip to content

Performance issue: UI freezes for 5+ minutes when opening client configuration with ~130 clients #217

@Astik015

Description

@Astik015

When opening the Client Configuration window with approximately 130 clients, the application freezes for 5+ minutes. This makes it extremely difficult to add or manage clients.
I analyzed the source code and found that LatestHandshakeProperty in ClientConfiguration.cs executes wg show command for each client when loading the client list. With 130 clients, this results in 130+ sequential calls to wg show, which is likely the cause of the freeze.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions