-
Notifications
You must be signed in to change notification settings - Fork 463
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
perf: issue at binop%
and binrel%
elaborators
#4085
Conversation
Mathlib CI status (docs):
|
This issue was affecting several Mathlib files.
At leanprover-community/mathlib4#12718, I benchmarked a working mathlib with a v4.8.0-rc1 with this commit cherry picked on top. Overall there is a -400B in instructions driven mainly by one file which was -800B. The issue there was the new |
The new slow-downs are pretty severe in |
I got different speed center results from leanprover-community/mathlib4#12719 than @mattrobball got from leanprover-community/mathlib4#12718; mine are worse, with an overall +500B instructions... The difference probably comes down to exactly where they converge with the |
It's universes triggering the expensive |
Testing for leanprover/lean4#4085 exposed possible regressions typeclass synthesis which can be ameliorated using explicit universes. We do this and we add references to the issue #12737 tracking these changes.
Closing in favour of #4092. |
This issue was affecting several Mathlib files. @mattrobball @semorrison This is a different solution for the issue. The comment at `Extra.lean` describes the new solution and documents the new issues found with the previous one. closes #4085
This issue was affecting several Mathlib files. @mattrobball @semorrison This is a different solution for the issue. The comment at `Extra.lean` describes the new solution and documents the new issues found with the previous one. closes #4085 (cherry picked from commit 2a5ca00)
This issue was affecting several Mathlib files. @mattrobball @semorrison This is a different solution for the issue. The comment at `Extra.lean` describes the new solution and documents the new issues found with the previous one. closes #4085 (cherry picked from commit 2a5ca00)
Testing for leanprover/lean4#4085 exposed possible regressions typeclass synthesis which can be ameliorated using explicit universes. We do this and we add references to the issue #12737 tracking these changes.
Testing for leanprover/lean4#4085 exposed possible regressions typeclass synthesis which can be ameliorated using explicit universes. We do this and we add references to the issue #12737 tracking these changes.
This issue was affecting several Mathlib files. @mattrobball @semorrison This is a different solution for the issue. The comment at `Extra.lean` describes the new solution and documents the new issues found with the previous one. closes #4085 (cherry picked from commit 2a5ca00)
This issue was affecting several Mathlib files.
@mattrobball Found where the
[nonassignable]
s were coming from. Thanks for helping to diagnose this performance issue.