MCPcopy
hub / github.com/TecharoHQ/anubis / BenchmarkSHA256_ChallengeInputs

Function BenchmarkSHA256_ChallengeInputs

internal/hash_bench_test.go:75–81  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

73}
74
75func BenchmarkSHA256_ChallengeInputs(b *testing.B) {
76 b.ResetTimer()
77 for i := 0; i < b.N; i++ {
78 input := challengeInputs[i%len(challengeInputs)]
79 _ = SHA256sum(input)
80 }
81}
82
83func BenchmarkXXHash_ChallengeInputs(b *testing.B) {
84 b.ResetTimer()

Callers

nothing calls this directly

Calls 1

SHA256sumFunction · 0.85

Tested by

no test coverage detected