MCPcopy Create free account
hub / github.com/buger/jsonparser / BenchmarkBytesEqualStrUnsafeSlower

Function BenchmarkBytesEqualStrUnsafeSlower

bytes_unsafe_test.go:76–80  ·  view source on GitHub ↗

Alternative implementation using unsafe, but that is slower than the current implementation Verifies: SYS-REQ-001 MCDC SYS-REQ-001: N/A

(b *testing.B)

Source from the content-addressed store, hash-verified

74// Verifies: SYS-REQ-001
75// MCDC SYS-REQ-001: N/A
76func BenchmarkBytesEqualStrUnsafeSlower(b *testing.B) {
77 for i := 0; i < b.N; i++ {
78 bytesEqualStrUnsafeSlower(&benchmarkBytes, benchmarkString)
79 }
80}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected