Skip to content

Commit

Permalink
Remove redundant benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
bombsimon committed Oct 3, 2023
1 parent 1112b73 commit c836c96
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions inferrer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,24 +268,6 @@ func BenchmarkInferThousandRowsNoMissingHints(b *testing.B) {
}
}

func BenchmarkInferOneRowMissingHints(b *testing.B) {
rows := generateRows(1)
hints := Hints{}

for n := 0; n < b.N; n++ {
InferStrings(rows, hints)
}
}

func BenchmarkInferThousandRowsMissingHints(b *testing.B) {
rows := generateRows(1000)
hints := Hints{}

for n := 0; n < b.N; n++ {
InferStrings(rows, hints)
}
}

func generateRows(n int) []string {
row := `{"name":"bench", "speed":100.2}`
rows := []string{}
Expand Down

0 comments on commit c836c96

Please sign in to comment.