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

chore: remove SplitIf.ext cache #5571

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kha
Copy link
Member

@Kha Kha commented Oct 1, 2024

Incompatible as is with parallelism; let's first check if it has any impact at all

@Kha
Copy link
Member Author

Kha commented Oct 1, 2024

!bench

@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 Oct 1, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 1, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Oct 1, 2024
@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 7c29c3f.
There were significant changes against commit 7845a05:

  Benchmark     Metric             Change
  ===================================================
+ import Lean   task-clock          -7.8%   (-21.8 σ)
+ import Lean   wall-clock          -7.8%   (-23.0 σ)
+ nat_repr      branches            -1.8% (-1213.0 σ)
- stdlib        fix level params     1.2%    (38.0 σ)

@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 Oct 1, 2024
@Kha
Copy link
Member Author

Kha commented Oct 2, 2024

Mathlib bench is insignificant as well: http://speed.lean-fro.org/mathlib4/run-detail/736f134c-465b-45d6-b096-bb5f2f5ac81c

@Kha Kha marked this pull request as ready for review October 8, 2024 08:45
@Kha Kha requested a review from leodemoura as a code owner October 8, 2024 08:45

namespace Lean

structure LazyInitExtension (m : Type → Type) (α : Type) where
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leodemoura I removed this abstraction as it's now unused and doing lazy initialization in an elaboration monad seems like a bad idea in general under parallelism as the elaboration context will not be deterministic. Sounds good?

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 8, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Oct 8, 2024
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

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 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.

3 participants