Merge pull request #138 from xucong053/support-test-result-for-load-testing

feat: print statistics summary after load testing finished
This commit is contained in:
debugtalk
2022-03-16 22:27:07 +08:00
committed by GitHub
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...)
},
}