MCPcopy
hub / github.com/gin-gonic/gin / BenchmarkBytesConvStrToBytes

Function BenchmarkBytesConvStrToBytes

internal/bytesconv/bytesconv_test.go:120–124  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

118}
119
120func BenchmarkBytesConvStrToBytes(b *testing.B) {
121 for b.Loop() {
122 StringToBytes(testString)
123 }
124}

Callers

nothing calls this directly

Calls 1

StringToBytesFunction · 0.85

Tested by

no test coverage detected