[Merged by Bors] - chore(LongestPole): private an import to reduce the rebuild pole#39609
[Merged by Bors] - chore(LongestPole): private an import to reduce the rebuild pole#39609b-mehta wants to merge 6 commits into
Conversation
|
!bench |
|
Benchmark results for dccd48f against 260979c are in. No significant results found. @b-mehta
Small changes (2🟥)
|
PR summary 626240c7a9Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
!radar |
|
Benchmark results for 1fa69ac against 260979c are in. No significant results found. @b-mehta
Small changes (2🟥)
|
|
!radar |
|
Benchmark results for 9347371 against 260979c are in. No significant results found. @b-mehta
Small changes (1🟥)
|
|
!radar |
|
Benchmark results for 9fe1db7 against 260979c are in. No significant results found. @b-mehta
Small changes (1✅, 2🟥)
|
|
!radar |
|
Benchmark results for 396c763 against 260979c are in. No significant results found. @b-mehta
Small changes (1✅, 3🟥)
|
grunweg
left a comment
There was a problem hiding this comment.
LGTM with nits addressed; thanks for doing this!
b-mehta
left a comment
There was a problem hiding this comment.
Some of the imports in these files were already not ordered, so I have adjusted those too.
|
Thanks for doing this; LGTM! |
) The aim of this PR is to make tweaks to imports to make the *rebuild* time shorter by making more use of the module system. This is measured in the "lakeprof" report in the radar: https://speed.lean-lang.org/mathlib4-out/396c763262259f066f3837c32643dd752994ca6d/ The first block shows the longest pole when building mathlib, and the second shows it when a rebuild occurs; and as a result of this PR, the relative difference is increased by quite a bit. Note that the "lakeprof/longest rebuild path//wall-clock" is somewhat noisy, but the relative difference should be measured with somewhat less noise. This was done manually, by taking the second-slowest file in the rebuild path, and tweaking imports around it.
|
Pull request successfully merged into master. Build succeeded: |
…nprover-community#39609) The aim of this PR is to make tweaks to imports to make the *rebuild* time shorter by making more use of the module system. This is measured in the "lakeprof" report in the radar: https://speed.lean-lang.org/mathlib4-out/396c763262259f066f3837c32643dd752994ca6d/ The first block shows the longest pole when building mathlib, and the second shows it when a rebuild occurs; and as a result of this PR, the relative difference is increased by quite a bit. Note that the "lakeprof/longest rebuild path//wall-clock" is somewhat noisy, but the relative difference should be measured with somewhat less noise. This was done manually, by taking the second-slowest file in the rebuild path, and tweaking imports around it.
…nprover-community#39609) The aim of this PR is to make tweaks to imports to make the *rebuild* time shorter by making more use of the module system. This is measured in the "lakeprof" report in the radar: https://speed.lean-lang.org/mathlib4-out/396c763262259f066f3837c32643dd752994ca6d/ The first block shows the longest pole when building mathlib, and the second shows it when a rebuild occurs; and as a result of this PR, the relative difference is increased by quite a bit. Note that the "lakeprof/longest rebuild path//wall-clock" is somewhat noisy, but the relative difference should be measured with somewhat less noise. This was done manually, by taking the second-slowest file in the rebuild path, and tweaking imports around it.
…nprover-community#39609) The aim of this PR is to make tweaks to imports to make the *rebuild* time shorter by making more use of the module system. This is measured in the "lakeprof" report in the radar: https://speed.lean-lang.org/mathlib4-out/396c763262259f066f3837c32643dd752994ca6d/ The first block shows the longest pole when building mathlib, and the second shows it when a rebuild occurs; and as a result of this PR, the relative difference is increased by quite a bit. Note that the "lakeprof/longest rebuild path//wall-clock" is somewhat noisy, but the relative difference should be measured with somewhat less noise. This was done manually, by taking the second-slowest file in the rebuild path, and tweaking imports around it.
The aim of this PR is to make tweaks to imports to make the rebuild time shorter by making more use of the module system. This is measured in the "lakeprof" report in the radar: https://speed.lean-lang.org/mathlib4-out/396c763262259f066f3837c32643dd752994ca6d/
The first block shows the longest pole when building mathlib, and the second shows it when a rebuild occurs; and as a result of this PR, the relative difference is increased by quite a bit. Note that the "lakeprof/longest rebuild path//wall-clock" is somewhat noisy, but the relative difference should be measured with somewhat less noise.
This was done manually, by taking the second-slowest file in the rebuild path, and tweaking imports around it.