Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGobenchmarksSingle-choice MCQ

Why might this benchmark report a misleadingly fast time, and what fixes it?

func BenchmarkFNV(b *testing.B) { for i := 0; i < b.N; i++ { hashOf("hello") } }