-
Notifications
You must be signed in to change notification settings - Fork 179
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
Improve CI TPS metering input #5548
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5548 +/- ##
==========================================
+ Coverage 55.65% 55.70% +0.05%
==========================================
Files 1041 1033 -8
Lines 101935 101503 -432
==========================================
- Hits 56729 56544 -185
+ Misses 40846 40609 -237
+ Partials 4360 4350 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
integration/benchmark/cmd/ci/main.go
Outdated
initialTPSFlag := flag.Int("tps-initial", 10, "starting transactions per second") | ||
maxTPSFlag := flag.Int("tps-max", *initialTPSFlag, "maximum transactions per second allowed") | ||
minTPSFlag := flag.Int("tps-min", *initialTPSFlag, "minimum transactions per second allowed") | ||
loadTypeFlag := flag.String("load-type", string(defaultLoadType), "load type (token-transfer / const-exec / evm from the load config file)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loadTypeFlag := flag.String("load-type", string(defaultLoadType), "load type (token-transfer / const-exec / evm from the load config file)") | |
loadTypeFlag := flag.String("load-type", string(defaultLoadType), "load type (token-transfer / const-exec / evm) from the load config file") |
@@ -21,7 +21,8 @@ commits_file="/opt/commits.recent" | |||
load_types=("token-transfer" "create-account" "ledger-heavy" "evm-transfer") | |||
|
|||
# get the merge commits from the last week from master ordered by author date | |||
for commit in $(git log --merges --first-parent --format="%S:%H" origin/master --since '1 week' --author-date-order ) | |||
# TEMPORARY: DO NOT MERGE!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok to merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah thanks for that :) , I forgot about it!
I wish we had CI for this. Something like this https://github.com/JJ/github-pr-contains-action but listening to "DO NOT MERGE".
closes: #5490
CI TPS metering can now optionally take load parameters from a yaml file.
This PR also contains a small cleanup of unused TPS monitor features.