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

Function BenchmarkParseBytesCopy

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

Source from the content-addressed store, hash-verified

675}
676
677func BenchmarkParseBytesCopy(b *testing.B) {
678 for i := 0; i < b.N; i++ {
679 _, err := parseBytesCopy(asBytes)
680 if err != nil {
681 b.Fatal(err)
682 }
683 }
684}
685
686func BenchmarkNew(b *testing.B) {
687 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

parseBytesCopyFunction · 0.85

Tested by

no test coverage detected