(b *testing.B)
| 185 | } |
| 186 | |
| 187 | func BenchmarkRS256Signing(b *testing.B) { |
| 188 | key, _ := os.ReadFile("test/sample_key") |
| 189 | parsedKey, err := jwt.ParseRSAPrivateKeyFromPEM(key) |
| 190 | if err != nil { |
| 191 | b.Fatal(err) |
| 192 | } |
| 193 | |
| 194 | benchmarkSigning(b, jwt.SigningMethodRS256, parsedKey) |
| 195 | } |
| 196 | |
| 197 | func BenchmarkRS384Signing(b *testing.B) { |
| 198 | key, _ := os.ReadFile("test/sample_key") |
nothing calls this directly
no test coverage detected