Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BenchmarkProblem2
Function
BenchmarkProblem2
project_euler/problem_2/problem2_test.go:41–45 ·
view source on GitHub ↗
Benchmarks
(b *testing.B)
Source
from the content-addressed store, hash-verified
39
40
// Benchmarks
41
func
BenchmarkProblem2(b *testing.B) {
42
for
i := 0; i < b.N; i++ {
43
_ = Problem2(4e6)
44
}
45
}
Callers
nothing calls this directly
Calls
1
Problem2
Function · 0.85
Tested by
no test coverage detected