feat: support statistics summary for load testing

This commit is contained in:
xucong053
2022-03-16 17:18:01 +08:00
parent 4cee7aa833
commit 70bac23a11
3 changed files with 50 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ var boomCmd = &cobra.Command{
hrpBoomer.SetDisableCompression(disableCompression)
hrpBoomer.EnableCPUProfile(cpuProfile, cpuProfileDuration)
hrpBoomer.EnableMemoryProfile(memoryProfile, memoryProfileDuration)
hrpBoomer.EnableGracefulQuit()
hrpBoomer.Run(paths...)
},
}