MCPcopy
hub / github.com/segmentio/ksuid / BenchmarkParse

Function BenchmarkParse

ksuid_test.go:347–351  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

345}
346
347func BenchmarkParse(b *testing.B) {
348 for i := 0; i != b.N; i++ {
349 Parse(maxStringEncoded)
350 }
351}
352
353func BenchmarkCompare(b *testing.B) {
354 k1 := New()

Callers

nothing calls this directly

Calls 1

ParseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…