(b *testing.B)
| 25 | } |
| 26 | |
| 27 | func BenchmarkColorRender_SingleString(b *testing.B) { |
| 28 | yellow := FgGreen.Render |
| 29 | for i := 0; i < b.N; i++ { |
| 30 | yellow("Hello World") |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func BenchmarkColorRender_TwoStrings(b *testing.B) { |
| 35 | yellow := FgGreen.Render |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…