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

Function BenchmarkRenderCode_SingleString

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

Source from the content-addressed store, hash-verified

7)
8
9func BenchmarkRenderCode_SingleString(b *testing.B) {
10 for i := 0; i < b.N; i++ {
11 RenderCode("32", "Hello World")
12 }
13}
14
15func BenchmarkRenderCode_TwoStrings(b *testing.B) {
16 for i := 0; i < b.N; i++ {

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…