Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-core
Commits
becdcead
Unverified
Commit
becdcead
authored
Mar 31, 2021
by
Marten Seemann
Committed by
GitHub
Mar 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix benchmark of key verifications (#190)
parent
ea8b3691
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crypto/bench_test.go
crypto/bench_test.go
+2
-2
No files found.
crypto/bench_test.go
View file @
becdcead
...
...
@@ -54,11 +54,11 @@ func runBenchmarkSign(b *testing.B, numBytes int, t int) {
}
func
RunBenchmarkVerifyRSA
(
b
*
testing
.
B
,
numBytes
int
)
{
runBenchmark
Sign
(
b
,
numBytes
,
RSA
)
runBenchmark
Verify
(
b
,
numBytes
,
RSA
)
}
func
RunBenchmarkVerifyEd25519
(
b
*
testing
.
B
,
numBytes
int
)
{
runBenchmark
Sign
(
b
,
numBytes
,
Ed25519
)
runBenchmark
Verify
(
b
,
numBytes
,
Ed25519
)
}
func
runBenchmarkVerify
(
b
*
testing
.
B
,
numBytes
int
,
t
int
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment