(b *testing.B)
| 195 | } |
| 196 | |
| 197 | func 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 | |
| 207 | func BenchmarkRS512Signing(b *testing.B) { |
| 208 | key, _ := os.ReadFile("test/sample_key") |
nothing calls this directly
no test coverage detected