feat(tools/benchmark): introduce benchmark module (#22778)

This commit is contained in:
Matt Kocubinski
2024-12-12 15:33:23 +00:00
committed by GitHub
parent 02fe18c7dc
commit 14c841c86e
43 changed files with 7325 additions and 9 deletions
+2 -1
View File
@@ -698,8 +698,9 @@ func startTestnet(
_, nodeDir := getNodeDir(args, i)
// run start command
binName := cmd.Root().Use
cmdArgs := []string{"start", fmt.Sprintf("--%s=%s", flags.FlagHome, nodeDir)}
runCmd := exec.Command(os.Args[0], cmdArgs...) // spawn new process
runCmd := exec.Command(binName, cmdArgs...) // spawn new process
// Set stdout and stderr based on enableLogging flag
if args.enableLogging {