Skip to content

Conversation

@tydeu
Copy link
Member

@tydeu tydeu commented Jun 12, 2025

This PR partially reverts #8447 which introduced a significant Lake performance regression during builds. Once the cause is discovered and fixed, a similar PR will be made to revert this.

@tydeu tydeu added the changelog-lake Lake label Jun 12, 2025
@tydeu tydeu changed the title chore: partially revert "feat: lake: use lean --setup " chore: partially revert "feat: lake: use lean --setup" Jun 12, 2025
@tydeu
Copy link
Member Author

tydeu commented Jun 12, 2025

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 9874820.
There were significant changes against commit 0a9c246:

  Benchmark          Metric         Change
  =====================================================
+ bv_decide_mod      task-clock      -1.3%    (-32.9 σ)
+ bv_decide_mod      wall-clock      -1.3%    (-20.7 σ)
+ lake build clean   instructions   -28.9%   (-881.0 σ)
+ lake build clean   maxrss         -47.8%    (-86.2 σ)
+ lake build clean   task-clock     -28.0%   (-123.4 σ)
+ lake build clean   wall-clock     -46.7%   (-162.6 σ)
+ lake build no-op   instructions   -97.8% (-39187.8 σ)
+ lake build no-op   maxrss         -48.5%    (-21.1 σ)
+ lake build no-op   task-clock     -99.3% (-18926.0 σ)
+ lake build no-op   wall-clock     -96.1%  (-1543.4 σ)
+ nat_repr           branches        -1.2%   (-165.9 σ)
+ stdlib             grind dsimp    -19.1%    (-22.4 σ)
- workspaceSymbols   task-clock       8.2%     (48.8 σ)
- workspaceSymbols   wall-clock       8.2%     (48.2 σ)

@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 12, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jun 12, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jun 12, 2025
@tydeu tydeu marked this pull request as ready for review June 12, 2025 05:21
@kim-em kim-em added this pull request to the merge queue Jun 12, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jun 12, 2025
Merged via the queue into leanprover:master with commit c168d06 Jun 12, 2025
27 checks passed
@tydeu tydeu deleted the lake/revert-lean-setup branch June 12, 2025 07:10
github-merge-queue bot pushed a commit that referenced this pull request Jun 18, 2025
This PR reintroduces the basics of `lean --setup` integration into Lake
without the module computation which is still undergoing performance
debugging in #8787.

Partially reverts #8736 and partially reimplements #8447.
algebraic-dev pushed a commit to algebraic-dev/lean4 that referenced this pull request Jun 18, 2025
…8736)

This PR partially reverts leanprover#8024 which introduced a significant Lake
performance regression during builds. Once the cause is discovered and
fixed, a similar PR will be made to revert this.
algebraic-dev pushed a commit to algebraic-dev/lean4 that referenced this pull request Jun 18, 2025
This PR reintroduces the basics of `lean --setup` integration into Lake
without the module computation which is still undergoing performance
debugging in leanprover#8787.

Partially reverts leanprover#8736 and partially reimplements leanprover#8447.
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Jun 24, 2025
…8736)

This PR partially reverts leanprover#8024 which introduced a significant Lake
performance regression during builds. Once the cause is discovered and
fixed, a similar PR will be made to revert this.
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Jun 24, 2025
This PR reintroduces the basics of `lean --setup` integration into Lake
without the module computation which is still undergoing performance
debugging in leanprover#8787.

Partially reverts leanprover#8736 and partially reimplements leanprover#8447.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-lake Lake 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.

4 participants