mirror of
https://github.com/golang/go
synced 2024-11-24 02:30:12 -07:00
testing: correct two spelling/grammar issues
Change-Id: Ic7f7a34e12cc2845e0385a5a872e694d5dca7372 Reviewed-on: https://go-review.googlesource.com/c/go/+/169158 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
e6df179979
commit
a591fd08dd
@ -135,7 +135,7 @@ func (b *B) StopTimer() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResetTimer zeros the elapsed benchmark time and memory allocation counters
|
// ResetTimer zeroes the elapsed benchmark time and memory allocation counters
|
||||||
// and deletes user-reported metrics.
|
// and deletes user-reported metrics.
|
||||||
// It does not affect whether the timer is running.
|
// It does not affect whether the timer is running.
|
||||||
func (b *B) ResetTimer() {
|
func (b *B) ResetTimer() {
|
||||||
@ -752,7 +752,7 @@ func (b *B) SetParallelism(p int) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Benchmark benchmarks a single function. Useful for creating
|
// Benchmark benchmarks a single function. It is useful for creating
|
||||||
// custom benchmarks that do not use the "go test" command.
|
// custom benchmarks that do not use the "go test" command.
|
||||||
//
|
//
|
||||||
// If f calls Run, the result will be an estimate of running all its
|
// If f calls Run, the result will be an estimate of running all its
|
||||||
|
Loading…
Reference in New Issue
Block a user