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

Function BenchmarkNthFibonacci

math/fibonacci/fibonacci_test.go:80–84  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

78}
79
80func BenchmarkNthFibonacci(b *testing.B) {
81 for i := 0; i < b.N; i++ {
82 dynamic.NthFibonacci(90)
83 }
84}
85
86func BenchmarkMatrix(b *testing.B) {
87 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

NthFibonacciFunction · 0.92

Tested by

no test coverage detected