We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6df179 commit a591fd0Copy full SHA for a591fd0
src/testing/benchmark.go
@@ -135,7 +135,7 @@ func (b *B) StopTimer() {
135
}
136
137
138
-// ResetTimer zeros the elapsed benchmark time and memory allocation counters
+// ResetTimer zeroes the elapsed benchmark time and memory allocation counters
139
// and deletes user-reported metrics.
140
// It does not affect whether the timer is running.
141
func (b *B) ResetTimer() {
@@ -752,7 +752,7 @@ func (b *B) SetParallelism(p int) {
752
753
754
755
-// Benchmark benchmarks a single function. Useful for creating
+// Benchmark benchmarks a single function. It is useful for creating
756
// custom benchmarks that do not use the "go test" command.
757
//
758
// If f calls Run, the result will be an estimate of running all its
0 commit comments