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

Function BenchmarkJump

search/jump_test.go:17–23  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

15}
16
17func BenchmarkJump(b *testing.B) {
18 testCase := generateBenchmarkTestCase()
19 b.ResetTimer() // exclude time taken to generate test case
20 for i := 0; i < b.N; i++ {
21 _, _ = Jump(testCase, i)
22 }
23}

Callers

nothing calls this directly

Calls 2

JumpFunction · 0.85

Tested by

no test coverage detected