MCPcopy
hub / github.com/golang-jwt/jwt / BenchmarkRS384Signing

Function BenchmarkRS384Signing

rsa_test.go:197–205  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

195}
196
197func BenchmarkRS384Signing(b *testing.B) {
198 key, _ := os.ReadFile("test/sample_key")
199 parsedKey, err := jwt.ParseRSAPrivateKeyFromPEM(key)
200 if err != nil {
201 b.Fatal(err)
202 }
203
204 benchmarkSigning(b, jwt.SigningMethodRS384, parsedKey)
205}
206
207func BenchmarkRS512Signing(b *testing.B) {
208 key, _ := os.ReadFile("test/sample_key")

Callers

nothing calls this directly

Calls 1

benchmarkSigningFunction · 0.85

Tested by

no test coverage detected