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

perf: lake: fix LogIO inling/lifting #4351

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Jun 5, 2024

The current manner of lifting LogIO into CliM produces excessive specializations (due to a nested inlined forM). There was also a bug where IO was lifted into CliM via LogIO rather than directly through MainM.

@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Jun 5, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jun 5, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jun 5, 2024
@tydeu
Copy link
Member Author

tydeu commented Jun 5, 2024

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 5dba861.
There were significant changes against commit 81f5b07:

  Benchmark          Metric         Change
  ===================================================
+ lake config elab   instructions    -5.6% (-467.0 σ)

@tydeu tydeu marked this pull request as ready for review June 5, 2024 01:58
@tydeu tydeu added this pull request to the merge queue Jun 5, 2024
Merged via the queue into leanprover:master with commit 28b8778 Jun 5, 2024
12 checks passed
@tydeu tydeu deleted the lake/run-log-io branch June 5, 2024 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants