Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add benchmark, headless mode, and shutdown context to tui #362

Merged
merged 6 commits into from
Apr 24, 2022

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Apr 21, 2022

This PR adds a benchmark to measure the performance of small updates to elements in the tui render. To allow the benchmark to run in CI, It also adds a headless mode and a context that allows the user program to shut down. It also adds the builder pattern and non-exhaustive to config, so that in the future adding more fields to config will not be a braking change.

@jkelleyrtp
Copy link
Member

Looks good - thank you :)

@jkelleyrtp jkelleyrtp merged commit 45fe899 into DioxusLabs:master Apr 24, 2022
@ealmloff ealmloff deleted the tui-benchmark branch May 3, 2022 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants