MCPcopy
hub / github.com/google/uuid / BenchmarkNew

Function BenchmarkNew

uuid_test.go:686–690  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

684}
685
686func BenchmarkNew(b *testing.B) {
687 for i := 0; i < b.N; i++ {
688 New()
689 }
690}
691
692func BenchmarkUUID_String(b *testing.B) {
693 uuid, err := Parse("f47ac10b-58cc-0372-8567-0e02b2c3d479")

Callers

nothing calls this directly

Calls 1

NewFunction · 0.85

Tested by

no test coverage detected