Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark Sign and Verify operations #528

Merged
merged 1 commit into from
Jan 10, 2015
Merged

Conversation

btc
Copy link
Contributor

@btc btc commented Jan 10, 2015

#525 proposes signatures for DHT Provides records. Wanted to make sure that the runtime cost is well understood and that feasibility can be evaluated based on empirical evidence.

BenchmarkSign1B             1000           2406924 ns/op
BenchmarkSign10B            1000           2360527 ns/op
BenchmarkSign100B           1000           2354136 ns/op
BenchmarkSign1000B           500           2361775 ns/op
BenchmarkSign10000B          500           2415993 ns/op
BenchmarkSign100000B         500           2718051 ns/op
BenchmarkVerify1B          30000             52117 ns/op
BenchmarkVerify10B         30000             50968 ns/op
BenchmarkVerify100B        30000             51037 ns/op
BenchmarkVerify1000B       30000             56768 ns/op
BenchmarkVerify10000B      10000            105744 ns/op
BenchmarkVerify100000B      2000            628530 ns/op

BenchmarkSign1B             1000           2406924 ns/op
BenchmarkSign10B            1000           2360527 ns/op
BenchmarkSign100B           1000           2354136 ns/op
BenchmarkSign1000B           500           2361775 ns/op
BenchmarkSign10000B          500           2415993 ns/op
BenchmarkSign100000B         500           2718051 ns/op
BenchmarkVerify1B          30000             52117 ns/op
BenchmarkVerify10B         30000             50968 ns/op
BenchmarkVerify100B        30000             51037 ns/op
BenchmarkVerify1000B       30000             56768 ns/op
BenchmarkVerify10000B      10000            105744 ns/op
BenchmarkVerify100000B      2000            628530 ns/op
@btc btc added the status/in-progress In progress label Jan 10, 2015
@btc btc mentioned this pull request Jan 10, 2015
@jbenet
Copy link
Member

jbenet commented Jan 10, 2015

Yep, good to have these numbers present. 👍

jbenet added a commit that referenced this pull request Jan 10, 2015
benchmark Sign and Verify operations
@jbenet jbenet merged commit 29071ba into master Jan 10, 2015
@jbenet jbenet removed the status/in-progress In progress label Jan 10, 2015
@jbenet jbenet deleted the bench/crypto-sign-verify branch January 10, 2015 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants