Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BenchmarkIsPerfectNumber
Function
BenchmarkIsPerfectNumber
math/perfectnumber_test.go:147–151 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
145
}
146
147
func
BenchmarkIsPerfectNumber(b *testing.B) {
148
for
i := 0; i < b.N; i++ {
149
math.IsPerfectNumber(8128)
150
}
151
}
Callers
nothing calls this directly
Calls
1
IsPerfectNumber
Function · 0.92
Tested by
no test coverage detected