-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Severe performance regression in neotypes/neotypes
#22629
Comments
cc @som-snytt
Ah yes, this will be tricky to pinpoint... |
@som-snytt I assigned you for now, since you probably have the best chance of finding the root cause, but let me know if we should get someone else to take a look. |
It turned out to be easy to isolate, as there is a generated source of the form
|
Apparently a
for types such as
This is comparing prefixes of a selection and import, which was the motivating problem. Edit: per the PR, it should not have been performing these comparisons, so it is moot whether they are expensive. |
Based on OpenCB build in
neotypes/neotypes
- build logsWhen using Scala 3.6.4-RC1 the compilation finishes under 3-4 minutes
In 3.7.0-NIGHTLY it takes over 3 hours
Bisect (based on 5 minut timeout for building the whole project) points to c65d45d
Needs minimization
The text was updated successfully, but these errors were encountered: