-
Notifications
You must be signed in to change notification settings - Fork 17
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
Multichain load tests #510
Conversation
Terraform Feature Environment (dev-510)Terraform Initialization ⚙️
|
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.
LGTM
Co-authored-by: DavidM-D <dmillardurrant@gmail.com>
@DavidM-D I've accepted your commit and now I need 1 more approval :/ |
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.
If you work out who made the rule, I'll hassle them about it
Terraform Feature Environment Destroy (dev-510)Terraform Initialization ⚙️
|
Load tests can be executed with
cd load-tests
RUST_LOG=info cargo run --release -- --host https://rpc.testnet.near.org --report-file=load_test_results.html --test-plan "$(cat ./src/multichain/test_plans/short.txt)" --scenarios multichainSign
The new code is in
load-tests/src/multichain
.You can play with the test-plan file. For example:
0,0s;1,120s;0,0s
will create 1 user that will make calls one after another for 120 seconds.
You can set the number of users. All of them will use the same near acc for now, but in our case, it does not matter.