Skip to content

[Test] Complicate a "fast" type checker test to make it slow. #39863

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

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

hborla
Copy link
Member

@hborla hborla commented Oct 21, 2021

This test only happened to be under the constraint system thresholds, but the performance was not fast. This test was also flaky in CI, and fragile when making changes to operator overload resolution. Add a few operands to the + chain, and disable shrink to push the solver past the performance thresholds.

Resolves: rdar://84523782

This test only happened to be under the constraint system thresholds,
but the performance was not fast. Add a few operands to the + chain,
and disable shrink to push the solver past the performance thresholds.
@hborla
Copy link
Member Author

hborla commented Oct 21, 2021

@swift-ci please smoke test

@hborla hborla merged commit aef70f0 into swiftlang:main Oct 22, 2021
@hborla hborla deleted the complicate-type-checker-perf-test branch October 22, 2021 04:34
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.

1 participant