Skip to content

Consider optimization of Spectre.Console resource usage #22

Open
@jjcarrier

Description

@jjcarrier

Much of the TUI logic involves the re-creation of the TUI on every USB data event.
This is perhaps wasteful and could be optimized by storing most of the objects.

On console width/height changes, most of the TUI objects would likely need to be re-created, but otherwise, only the raw value areas need to be recomputed.

There may be other complications, but this should be looked into to minimize compute time and provide a larger window for processing other data or allowing for jitter conditions in the USB event timing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions