cosmos-sdk/simapp/v2/sim_bench_test.go
2025-01-17 09:52:55 +00:00

18 lines
328 B
Go

//go:build sims
package simapp
import (
"github.com/cosmos/cosmos-sdk/x/simulation/client/cli"
"testing"
)
func BenchmarkFullAppSimulation(b *testing.B) {
b.ReportAllocs()
cfg := cli.NewConfigFromFlags()
cfg.ChainID = SimAppChainID
for i := 0; i < b.N; i++ {
RunWithSeed[Tx](b, NewSimApp[Tx], AppConfig, cfg, 1)
}
}