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 7ab5ca4 commit 3e7d2a8Copy full SHA for 3e7d2a8
integrations/benchmarks_test.go
@@ -6,7 +6,6 @@ package integrations
6
7
import (
8
"fmt"
9
- "math/rand"
10
"net/http"
11
"testing"
12
@@ -67,15 +66,6 @@ func BenchmarkRepo(b *testing.B) {
67
66
}
68
69
70
-//StringWithCharset random string (from https://www.calhoun.io/creating-random-strings-in-go/)
71
-func StringWithCharset(length int, charset string) string {
72
- b := make([]byte, length)
73
- for i := range b {
74
- b[i] = charset[rand.Intn(len(charset))]
75
- }
76
- return string(b)
77
-}
78
-
79
func BenchmarkRepoBranchCommit(b *testing.B) {
80
b.Skip("benchmark broken") // TODO fix
81
samples := []int64{1, 15, 16}
0 commit comments