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

Function BenchmarkBytesConvBytesToStr

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

Source from the content-addressed store, hash-verified

106}
107
108func BenchmarkBytesConvBytesToStr(b *testing.B) {
109 for b.Loop() {
110 BytesToString(testBytes)
111 }
112}
113
114func BenchmarkBytesConvStrToBytesRaw(b *testing.B) {
115 for b.Loop() {

Callers

nothing calls this directly

Calls 1

BytesToStringFunction · 0.85

Tested by

no test coverage detected