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

[Merged by Bors] - perf (Functor.Flat): restructure proof to reduce simp time #8065

Closed
wants to merge 3 commits into from

Conversation

mattrobball
Copy link
Collaborator

This file recently jumped almost 200% in #8051. Changing a simpa using X call into a convert X <;> simp cuts the clock time for the file in half.


Open in Gitpod

@mattrobball
Copy link
Collaborator Author

bench!

@mattrobball
Copy link
Collaborator Author

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 1613e95.
There were significant changes against commit 0c484a5:

  Benchmark                                   Metric         Change
  =================================================================
- ~Mathlib.Analysis.NormedSpace.Multilinear   instructions     1.6%
+ ~Mathlib.CategoryTheory.Functor.Flat        instructions   -56.7%

@j-loreaux
Copy link
Collaborator

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Oct 31, 2023
bors bot pushed a commit that referenced this pull request Oct 31, 2023
This file recently jumped almost 200% in #8051. Changing a `simpa using X` call into a `convert X <;> simp` cuts the clock time for the file in half.
@mattrobball
Copy link
Collaborator Author

bors merge-

Copy link

bors bot commented Oct 31, 2023

Canceled.

@mattrobball
Copy link
Collaborator Author

Sorry there is a line I commented out that I should either delete or uncomment

@mattrobball
Copy link
Collaborator Author

@j-loreaux if you want to pull the trigger again, please do. 🙏

@mattrobball mattrobball added awaiting-review The author would like community review of the PR awaiting-CI labels Oct 31, 2023
@j-loreaux
Copy link
Collaborator

bors merge

@github-actions github-actions bot removed the awaiting-review The author would like community review of the PR label Oct 31, 2023
bors bot pushed a commit that referenced this pull request Oct 31, 2023
This file recently jumped almost 200% in #8051. Changing a `simpa using X` call into a `convert X <;> simp` cuts the clock time for the file in half.
Copy link

bors bot commented Oct 31, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title perf (Functor.Flat): restructure proof to reduce simp time [Merged by Bors] - perf (Functor.Flat): restructure proof to reduce simp time Oct 31, 2023
@bors bors bot closed this Oct 31, 2023
@bors bors bot deleted the mrb/functor_flat branch October 31, 2023 23:08
fgdorais pushed a commit that referenced this pull request Nov 1, 2023
This file recently jumped almost 200% in #8051. Changing a `simpa using X` call into a `convert X <;> simp` cuts the clock time for the file in half.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants