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

Function BenchmarkIntToRoman

conversion/inttoroman_test.go:25–30  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

23}
24
25func BenchmarkIntToRoman(b *testing.B) {
26 b.ReportAllocs()
27 for i := 0; i < b.N; i++ {
28 _, _ = IntToRoman(3999)
29 }
30}

Callers

nothing calls this directly

Calls 1

IntToRomanFunction · 0.85

Tested by

no test coverage detected