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

Function BenchmarkParse

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

Source from the content-addressed store, hash-verified

638var asBytes = []byte(asString)
639
640func BenchmarkParse(b *testing.B) {
641 for i := 0; i < b.N; i++ {
642 _, err := Parse(asString)
643 if err != nil {
644 b.Fatal(err)
645 }
646 }
647}
648
649func BenchmarkParseBytes(b *testing.B) {
650 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

ParseFunction · 0.85

Tested by

no test coverage detected