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 EVM benchmarking scripts #23

Merged
merged 5 commits into from
Mar 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix parity gas_used/total_time
  • Loading branch information
hugo-dc committed Dec 19, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 3e3a10bf0ef176f6f00e04f411a9f559b869ac98
3 changes: 2 additions & 1 deletion evm/scripts/benchevm.py
Original file line number Diff line number Diff line change
@@ -187,7 +187,8 @@ def bench_evm(evm_name, input, codefilepath, shift_suffix):

evm_result['engine'] = 'parity-evm'
evm_result['test_name'] = test_name
evm_result['gas_used'] = parity_bench_result['time']
evm_result['total_time'] = parity_bench_result['time']
evm_result['gas_used'] = parity_bench_result['gas_used']

if evm_name == "geth":
geth_bench_cmd = get_geth_cmd(codefilepath, calldata, expected)