Skip to content

perf: improve some instances in Submodule#7408

Closed
ChrisHughes24 wants to merge 6 commits intomasterfrom
SubmoduleInstPerfCH
Closed

perf: improve some instances in Submodule#7408
ChrisHughes24 wants to merge 6 commits intomasterfrom
SubmoduleInstPerfCH

Conversation

@ChrisHughes24
Copy link
Copy Markdown
Member

@ChrisHughes24 ChrisHughes24 commented Sep 27, 2023


Open in Gitpod

@ChrisHughes24 ChrisHughes24 added WIP Work in progress awaiting-author A reviewer has asked the author a question or requested changes. labels Sep 27, 2023
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@ChrisHughes24
Copy link
Copy Markdown
Member Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 767f43c.
There were significant changes against commit 2b8f139:

  Benchmark                                              Metric         Change
  ============================================================================
- build                                                  wall-clock      68.7%
+ ~Mathlib.Algebra.Category.GroupCat.Injective           instructions    -5.5%
+ ~Mathlib.Algebra.Category.ModuleCat.EpiMono            instructions   -12.2%
+ ~Mathlib.Algebra.Category.ModuleCat.Images             instructions    -6.0%
+ ~Mathlib.Algebra.Category.ModuleCat.Subobject          instructions   -10.4%
+ ~Mathlib.Algebra.Lie.TensorProduct                     instructions    -9.6%
+ ~Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional   instructions   -14.6%
+ ~Mathlib.LinearAlgebra.AffineSpace.Restrict            instructions   -20.1%
+ ~Mathlib.LinearAlgebra.Eigenspace.Basic                instructions    -5.2%
+ ~Mathlib.LinearAlgebra.FiniteDimensional               instructions    -5.8%
+ ~Mathlib.LinearAlgebra.FreeModule.Finite.Rank          instructions   -10.4%
+ ~Mathlib.LinearAlgebra.Isomorphisms                    instructions   -39.7%
+ ~Mathlib.RingTheory.Artinian                           instructions    -5.5%
+ ~Mathlib.RingTheory.SimpleModule                       instructions   -36.4%

@ChrisHughes24
Copy link
Copy Markdown
Member Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit eacbd41.
There were significant changes against commit 2b8f139:

  Benchmark                                              Metric         Change
  ============================================================================
+ ~Mathlib.Algebra.Category.GroupCat.Injective           instructions    -5.4%
+ ~Mathlib.Algebra.Category.ModuleCat.EpiMono            instructions   -12.2%
+ ~Mathlib.Algebra.Category.ModuleCat.Images             instructions    -6.0%
+ ~Mathlib.Algebra.Category.ModuleCat.Subobject          instructions   -10.4%
+ ~Mathlib.Algebra.Lie.TensorProduct                     instructions    -9.6%
+ ~Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional   instructions   -14.6%
+ ~Mathlib.LinearAlgebra.AffineSpace.Restrict            instructions   -20.1%
+ ~Mathlib.LinearAlgebra.Eigenspace.Basic                instructions    -5.2%
+ ~Mathlib.LinearAlgebra.FiniteDimensional               instructions    -5.8%
+ ~Mathlib.LinearAlgebra.FreeModule.Finite.Rank          instructions   -10.3%
+ ~Mathlib.LinearAlgebra.Isomorphisms                    instructions   -39.7%
+ ~Mathlib.RingTheory.Artinian                           instructions    -5.5%
+ ~Mathlib.RingTheory.SimpleModule                       instructions   -36.4%

@ChrisHughes24 ChrisHughes24 added awaiting-review and removed WIP Work in progress awaiting-author A reviewer has asked the author a question or requested changes. labels Sep 28, 2023
@ChrisHughes24 ChrisHughes24 added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) WIP Work in progress and removed awaiting-review labels Sep 30, 2023
@ChrisHughes24 ChrisHughes24 added awaiting-review and removed WIP Work in progress blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Oct 4, 2023
@ghost ghost added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 4, 2023
@ChrisHughes24 ChrisHughes24 removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 4, 2023
@digama0
Copy link
Copy Markdown
Member

digama0 commented Oct 21, 2023

Note: I have pushed an update to the lean toolchain because this PR was on a buggy version of the toolchain. WARNING: checking out old commits of this PR using v4.2.0-rc2 or v4.2.0-rc3 can cause lake clean to delete your mathlib folder! If you need to do so, make sure to delete lakefile.olean manually before running any lake commands.

@ChrisHughes24 ChrisHughes24 added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Oct 25, 2023
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 31, 2023
@YaelDillies YaelDillies deleted the SubmoduleInstPerfCH branch August 12, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author A reviewer has asked the author a question or requested changes. merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants