MCPcopy Create free account
hub / github.com/cloudflare/cfssl / BenchmarkToken

Function BenchmarkToken

auth/auth_test.go:137–144  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

135}
136
137func BenchmarkToken(b *testing.B) {
138 for i := 0; i < b.N; i++ {
139 _, err := testProvider.Token(bmRequest)
140 if err != nil {
141 b.Fatalf("%v", err)
142 }
143 }
144}
145
146func BenchmarkVerify(b *testing.B) {
147 token, _ := testProvider.Token(bmRequest)

Callers

nothing calls this directly

Calls 1

TokenMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…