1package dal
 2
 3import "testing"
 4
 5func Empty() {
 6	str := "12312"
 7	if str == "" {
 8
 9	}
10}
11func Lenzero() {
12	str := ""
13	if len(str) == 0 {
14
15	}
16}
17func BenchmarkEmpty(b *testing.B) {
18	for n := 0; n < b.N; n++ {
19		Empty()
20	}
21}
22
23func BenchmarkLenzero(b *testing.B) {
24	for n := 0; n < b.N; n++ {
25		Lenzero()
26	}
27}

image-20210620155543250