You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/polycli_loadtest.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ The codebase has a contract that used for load testing. It's written in Solidity
104
104
--adaptive-cycle-duration-seconds uint When using adaptive rate limiting, this flag controls how often we check the queue size and adjust the rates (default 10)
105
105
--adaptive-rate-limit Enable AIMD-style congestion control to automatically adjust request rate
106
106
--adaptive-rate-limit-increment uint When using adaptive rate limiting, this flag controls the size of the additive increases. (default 50)
107
+
--address-funding-amount uint The amount in gwei to fund the sending addresses with. (default 1000000000000000000)
107
108
--batch-size uint Number of batches to perform at a timefor receipt fetching. Default is 999 requests at a time. (default 999)
108
109
--blob-fee-cap uint The blob fee cap, or the maximum blob fee per chunk, in Gwei. (default 100000)
109
110
-b, --byte-count uint If we're in store mode, this controls how many bytes we'll try to store in our contract (default 1024)
@@ -121,6 +122,7 @@ The codebase has a contract that used for load testing. It's written in Solidity
121
122
-f, --function uint A specific functionto be called if running with --mode f or a specific precompiled contract when running with --mode a (default 1)
122
123
--function-arg strings The arguments that will be passed to a contract functioncall. This must be paired up with "--mode contract-call" and "--contract-address". Args can be passed multiple times: "--function-arg 'test' --function-arg 999" or comma separated values "--function-arg "test",9". The ordering of the arguments must match the ordering of the functionparameters.
123
124
--function-signature string The contract's function signature that will be called. The format is '<function name>(<types...>)'. This must be paired up with '--mode contract-call' and '--contract-address'. If the function requires parameters you can pass them with '--function-arg <value>'.
125
+
--fund-sending-addresses-on-demand If set to true, the sending addresses will be funded when used for the first time, otherwise all addresses will be fund at the start of the execution. (default true)
124
126
--gas-limit uint In environments where the gas limit can't be computed on the fly, we can specify it manually. This can also be used to avoid eth_estimateGas
125
127
--gas-price uint In environments where the gas price can't be determined automatically, we can specify it manually
126
128
--gas-price-multiplier float A multiplier to increase or decrease the gas price (default 1)
@@ -157,6 +159,7 @@ The codebase has a contract that used for load testing. It's written in Solidity
157
159
-r, --rpc-url string The RPC endpoint url (default "http://localhost:8545")
158
160
--seed int A seed for generating random values and addresses (default 123456)
159
161
--send-only Send transactions and load without waiting for it to be mined.
162
+
--sending-address-count uint The number of sending addresses to use. This is useful for avoiding pool account queue. (default 1)
160
163
--steady-state-tx-pool-size uint When using adaptive rate limiting, this value sets the target queue size. If the queue is smaller than this value, we'll speed up. If the queue is smaller than this value, we'll back off. (default 1000)
161
164
--summarize Should we produce an execution summary after the load test has finished. If you're running a large load test, this can take a long time
162
165
-t, --time-limit int Maximum number of seconds to spend for benchmarking. Use this to benchmark within a fixed total amount of time. Per default there is no time limit. (default -1)
0 commit comments