MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / BenchmarkDSANew

Function BenchmarkDSANew

cipher/dsa/dsa_test.go:70–74  ·  view source on GitHub ↗

* ------------------- BENCHMARKS ------------------- */

(b *testing.B)

Source from the content-addressed store, hash-verified

68
69/* ------------------- BENCHMARKS ------------------- */
70func BenchmarkDSANew(b *testing.B) {
71 for i := 0; i < b.N; i++ {
72 dsa.New()
73 }
74}
75
76func BenchmarkDSASign(b *testing.B) {
77 dsaInstance := dsa.New()

Callers

nothing calls this directly

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected