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

Add EC multiplication benchmark #185

Merged
merged 4 commits into from
Apr 15, 2021
Merged

Conversation

gnarula
Copy link
Contributor

@gnarula gnarula commented Apr 14, 2021

BenchmarkNativeEC
BenchmarkNativeEC-4             1000000000               0.00417 ns/op
BenchmarkEVMEC
Did 50.000000 multiplications. Average Gas Usage=578623.84
Did 50.000000 multiplications. Average Gas Usage=578436.88
Did 50.000000 multiplications. Average Gas Usage=579141.60
Did 50.000000 multiplications. Average Gas Usage=579145.92
Did 50.000000 multiplications. Average Gas Usage=581585.18
Did 50.000000 multiplications. Average Gas Usage=580164.62
Did 50.000000 multiplications. Average Gas Usage=582519.32
Did 50.000000 multiplications. Average Gas Usage=582186.76
Did 50.000000 multiplications. Average Gas Usage=579677.86
Did 50.000000 multiplications. Average Gas Usage=579801.14
Did 50.000000 multiplications. Average Gas Usage=581449.26
Did 50.000000 multiplications. Average Gas Usage=582210.82
Did 50.000000 multiplications. Average Gas Usage=581115.16
Did 50.000000 multiplications. Average Gas Usage=579033.16
Did 50.000000 multiplications. Average Gas Usage=577903.80
BenchmarkEVMEC-4                1000000000               0.238 ns/op

BenchmarkNativeEC
BenchmarkNativeEC-4             1000000000               0.00417 ns/op

@gnarula gnarula requested a review from nkcr April 14, 2021 10:00
core/execution/evm/mod.go Outdated Show resolved Hide resolved
@nkcr nkcr merged commit 3f34055 into unikernel-initial Apr 15, 2021
@nkcr nkcr deleted the unikernel-solidity-benchmark branch April 15, 2021 07:08
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.

None yet

2 participants