diff options
| -rw-r--r-- | sort/sort_test.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sort/sort_test.go b/sort/sort_test.go index fb8870b..b632be8 100644 --- a/sort/sort_test.go +++ b/sort/sort_test.go @@ -91,19 +91,6 @@ func TestShuffleSort(t *testing.T) { } } -func BenchmarkSleepSort(b *testing.B) { - a := ds.NewRandomArrayList[int](10, 10) - aux := ds.NewArrayList[int](10) - - b.Run(fmt.Sprintf("random(%d)", 10), func(b *testing.B) { - b.ResetTimer() - for i := 0; i < b.N; i++ { - copy(aux, a) - benchResult = Sleep(aux) - } - }) -} - func BenchmarkInsertionSort(b *testing.B) { for i := minLength; i <= maxSlowLength; i *= factor { benchmark(Insertion[int], i, b) |
