MCPcopy
hub / github.com/gofrs/uuid / BenchmarkString

Function BenchmarkString

codec_test.go:315–319  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

313var stringBenchmarkSink string
314
315func BenchmarkString(b *testing.B) {
316 for i := 0; i < b.N; i++ {
317 stringBenchmarkSink = codecTestUUID.String()
318 }
319}
320
321func BenchmarkFromBytes(b *testing.B) {
322 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected