fix: benchmark start command (#20772)
This commit is contained in:
+16
-7
@@ -46,9 +46,14 @@ others state execution outcome.
|
||||
|
||||
# Usage
|
||||
|
||||
Switch to `simapp/` directory:
|
||||
|
||||
$ cd simapp/
|
||||
|
||||
To execute a completely pseudo-random simulation:
|
||||
|
||||
$ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \
|
||||
$ go test -mod=readonly . \
|
||||
-tags='sims' \
|
||||
-run=TestFullAppSimulation \
|
||||
-Enabled=true \
|
||||
-NumBlocks=100 \
|
||||
@@ -60,7 +65,8 @@ To execute a completely pseudo-random simulation:
|
||||
|
||||
To execute simulation from a genesis file:
|
||||
|
||||
$ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \
|
||||
$ go test -mod=readonly . \
|
||||
-tags='sims' \
|
||||
-run=TestFullAppSimulation \
|
||||
-Enabled=true \
|
||||
-NumBlocks=100 \
|
||||
@@ -73,7 +79,8 @@ To execute simulation from a genesis file:
|
||||
|
||||
To execute simulation from a simulation params file:
|
||||
|
||||
$ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \
|
||||
$ go test -mod=readonly . \
|
||||
-tags='sims' \
|
||||
-run=TestFullAppSimulation \
|
||||
-Enabled=true \
|
||||
-NumBlocks=100 \
|
||||
@@ -86,7 +93,8 @@ To execute simulation from a simulation params file:
|
||||
|
||||
To export the simulation params to a file at a given block height:
|
||||
|
||||
$ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \
|
||||
$ go test -mod=readonly . \
|
||||
-tags='sims' \
|
||||
-run=TestFullAppSimulation \
|
||||
-Enabled=true \
|
||||
-NumBlocks=100 \
|
||||
@@ -96,11 +104,12 @@ To export the simulation params to a file at a given block height:
|
||||
-Period=5 \
|
||||
-ExportParamsPath=/path/to/params.json \
|
||||
-ExportParamsHeight=50 \
|
||||
-v -timeout 24h
|
||||
-v -timeout 24h
|
||||
|
||||
To export the simulation app state (i.e genesis) to a file:
|
||||
|
||||
$ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \
|
||||
$ go test -mod=readonly . \
|
||||
-tags='sims' \
|
||||
-run=TestFullAppSimulation \
|
||||
-Enabled=true \
|
||||
-NumBlocks=100 \
|
||||
@@ -109,7 +118,7 @@ To export the simulation app state (i.e genesis) to a file:
|
||||
-Seed=99 \
|
||||
-Period=5 \
|
||||
-ExportStatePath=/path/to/genesis.json \
|
||||
v -timeout 24h
|
||||
-v -timeout 24h
|
||||
|
||||
# Params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user