minor output format change

This commit is contained in:
Chris Lu
2014-03-10 13:22:08 -07:00
parent 1f0a564e43
commit 45757b8b55

View File

@@ -285,7 +285,7 @@ func (s *stats) checkProgress(testName string, finishChan chan bool) {
func (s *stats) printStats() { func (s *stats) printStats() {
timeTaken := float64(int64(s.end.Sub(s.start))) / 1000000000 timeTaken := float64(int64(s.end.Sub(s.start))) / 1000000000
fmt.Printf("Concurrency Level: %d\n", *b.concurrency) fmt.Printf("\nConcurrency Level: %d\n", *b.concurrency)
fmt.Printf("Time taken for tests: %.3f seconds\n", timeTaken) fmt.Printf("Time taken for tests: %.3f seconds\n", timeTaken)
fmt.Printf("Complete requests: %d\n", s.completed) fmt.Printf("Complete requests: %d\n", s.completed)
fmt.Printf("Failed requests: %d\n", s.failed) fmt.Printf("Failed requests: %d\n", s.failed)