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

enable rendering in integration tests #5819

Merged
merged 1 commit into from
Feb 4, 2023

Conversation

dead10ck
Copy link
Member

@dead10ck dead10ck commented Feb 4, 2023

This will allow testing more of the code base, as well as enable UI- specific testing.

Debug mode builds are prohibitively slow for the tests, mostly because of the concurrency write tests. So there is now a profile for integration tests that sets the optimization level to 2 for a few helix crates, and lowers the number of rounds of concurrent writes to 1000.

This will allow testing more of the code base, as well as enable UI-
specific testing.

Debug mode builds are prohibitively slow for the tests, mostly
because of the concurrency write tests. So there is now a profile for
integration tests that sets the optimization level to 2 for a few helix
crates, and lowers the number of rounds of concurrent writes to 1000.
@archseer
Copy link
Member

archseer commented Feb 4, 2023

Test runtime seems reasonable (about the same ballpark range as before the PR) but the build time was significantly longer. Though I think that's because all the crates were rebuilt rather than just the helix- ones. Should be better on a cached run

@archseer archseer merged commit b2e83f8 into helix-editor:master Feb 4, 2023
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