MCPcopy Create free account
hub / github.com/gookit/color / BenchmarkRenderCode_UserPattern

Function BenchmarkRenderCode_UserPattern

performance_test.go:21–25  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

19}
20
21func BenchmarkRenderCode_UserPattern(b *testing.B) {
22 for i := 0; i < b.N; i++ {
23 RenderCode("32", strconv.Itoa(i)+". ", "test")
24 }
25}
26
27func BenchmarkColorRender_SingleString(b *testing.B) {
28 yellow := FgGreen.Render

Callers

nothing calls this directly

Calls 1

RenderCodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…