forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Locust: Pre-generate users in FT benchmark (near#11593)
This PR allow to generate multiple large FT contracts that can be reused in the future benchmark runs. I ran this with 10M users per contract and was able to generate 4 contracts (one per worker), each with 10M users and 1.25GB of state in 24 hours (with gas_limit set to 10 PGas): ```sh locust -H 127.0.0.1:3030 \ -f locustfiles/ft.py \ --funding-key=$KEY \ --fixed-contract-names --num-ft-contracts=1 \ --num-passive-users=10000000 \ -u 4000 -r 500 --headless --processes 4 ```
- Loading branch information
Showing
1 changed file
with
33 additions
and
12 deletions.
There are no files selected for viewing
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