package benchmark
import (
"testing"
"time"
)
func BenchmarkByAdd(b *testing.B){
b.ResetTimer()
for i:=1;i<10;i++{
time.Sleep(1 * time.Second)
}
b.StopTimer()
}
package benchmark
import (
"testing"
"time"
)
func BenchmarkByAdd(b *testing.B){
b.ResetTimer()
for i:=1;i<10;i++{
time.Sleep(1 * time.Second)
}
b.StopTimer()
}