MCPcopy
hub / github.com/buger/jsonparser / BenchmarkEqualStr

Function BenchmarkEqualStr

bytes_unsafe_test.go:58–62  ·  view source on GitHub ↗

Verifies: SYS-REQ-001 MCDC SYS-REQ-001: N/A

(b *testing.B)

Source from the content-addressed store, hash-verified

56// Verifies: SYS-REQ-001
57// MCDC SYS-REQ-001: N/A
58func BenchmarkEqualStr(b *testing.B) {
59 for i := 0; i < b.N; i++ {
60 equalStr(&benchmarkBytes, benchmarkString)
61 }
62}
63
64// Alternative implementation without using unsafe
65// Verifies: SYS-REQ-001

Callers

nothing calls this directly

Calls 1

equalStrFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…