Skip to content

perf(Languages): golf very slow grind - #1241

Open
felixpernegger wants to merge 3 commits into
leanprover:mainfrom
felixpernegger:grindevil
Open

felixpernegger wants to merge 3 commits into
leanprover:mainfrom
felixpernegger:grindevil

Conversation

@felixpernegger

@felixpernegger felixpernegger commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

grind on induction is risky

This was found by looking at the files which are the slowest-per line. There are several more improvments (which should bring overall build down by ~6% for the top 5 files), I can PR more if there is interest. :)

@felixpernegger

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-radar

leanprover-radar commented Nov 18, 2026 •

Copy link
Copy Markdown

Benchmark results for 8d1945b against acb4497 are in. There are significant results. @felixpernegger

  • 🟥 main exited with code 1

No significant changes detected.

@felixpernegger

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-radar

leanprover-radar commented Nov 18, 2026 •

Copy link
Copy Markdown

Benchmark results for 2f8d2f9 against acb4497 are in. There are significant results. @felixpernegger

  • ✅ build//instructions: -40.6G (-1.78%)

Large changes (1✅)

  • ✅ build/module/Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.MultiApp//instructions: -38.2G (-78.14%)

Small changes (1✅)

  • 1 hidden

@fmontesi

Copy link
Copy Markdown
Collaborator

LGTM, @ctchou could you have a quick look?

# Conflicts:
#	Cslib/Languages/LambdaCalculus/LocallyNameless/Untyped/MultiApp.lean
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.

3 participants