Skip to content

Commit bff4427

Browse files
committed
Remove benchmarks for deprecated functions
1 parent b291bb7 commit bff4427

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

bench_test.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,6 @@ package bit
22

33
import "testing"
44

5-
func BenchmarkLeadingZeros(b *testing.B) {
6-
for i := 0; i < b.N; i++ {
7-
LeadingZeros(0xcafecafecafecafe)
8-
}
9-
}
10-
11-
func BenchmarkTrailingZeros(b *testing.B) {
12-
for i := 0; i < b.N; i++ {
13-
TrailingZeros(0xcafecafecafecafe)
14-
}
15-
}
16-
17-
func BenchmarkCount(b *testing.B) {
18-
for i := 0; i < b.N; i++ {
19-
Count(0xcafecafecafecafe)
20-
}
21-
}
22-
235
// Number of words in test set.
246
const nw = 1 << 10
257

0 commit comments

Comments
 (0)