MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkCocktailSort

Function BenchmarkCocktailSort

sort/sorts_test.go:263–265  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

261}
262
263func BenchmarkCocktailSort(b *testing.B) {
264 benchmarkFramework(b, sort.Cocktail[int])
265}
266
267func BenchmarkExchange(b *testing.B) {
268 benchmarkFramework(b, sort.Exchange[int])

Callers

nothing calls this directly

Calls 1

benchmarkFrameworkFunction · 0.85

Tested by

no test coverage detected