This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Reduce the execution time of some tests #10377
Merged
paritytech-processbot
merged 4 commits into
master
from
kiz-tame-bench-test-execution-times
Nov 28, 2021
Merged
Reduce the execution time of some tests #10377
paritytech-processbot
merged 4 commits into
master
from
kiz-tame-bench-test-execution-times
Nov 28, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kianenigma
added
A0-please_review
Pull request needs code review.
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
labels
Nov 26, 2021
bkchr
approved these changes
Nov 26, 2021
kianenigma
added
A2-insubstantial
Pull request requires no code review (e.g., a sub-repository hash update).
and removed
A0-please_review
Pull request needs code review.
labels
Nov 27, 2021
emostov
approved these changes
Nov 28, 2021
bot merge |
Error: It's not possible to meet the minimal approval count of 1 in paritytech/polkadot#4379 |
bot merge |
paritytech-processbot
bot
deleted the
kiz-tame-bench-test-execution-times
branch
November 28, 2021 12:47
chevdor
pushed a commit
that referenced
this pull request
Dec 1, 2021
* Reduce the execution time of some tests * Fix * Fix build * fmt
chevdor
pushed a commit
that referenced
this pull request
Jan 11, 2022
* Reduce the execution time of some tests * Fix * Fix build * fmt
grishasobol
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Mar 28, 2022
* Reduce the execution time of some tests * Fix * Fix build * fmt
AurevoirXavier
added a commit
to darwinia-network/darwinia-common
that referenced
this pull request
Sep 8, 2022
ark0f
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Feb 27, 2023
* Reduce the execution time of some tests * Fix * Fix build * fmt
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A2-insubstantial
Pull request requires no code review (e.g., a sub-repository hash update).
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed that some tests where were taking an unreasonably long duration on my machine. Turned out they had constant configurations that implied so, so I changed them.
Example:
bench_get_npos_targets
debug build before: <idk, it just takes forever, more than a few minutes 🤷>bench_get_npos_targets
debug build after: 2.92sbench_get_npos_targets
release build before: 0.58sbench_get_npos_targets
release build after: 0.06spallet_election_provider_multi_phase
all tests debug before: 23.92spallet_election_provider_multi_phase
all tests debug after: 0.42sluckily the CI is running tests in release, so less of a big deal.
polkadot companion: paritytech/polkadot#4379
skip check-dependent-cumulus