Skip to content

Commit

Permalink
fix parity Dockerfile, fix benchmark output merging script
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger committed Mar 30, 2020
1 parent 3e3a10b commit be534d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions evm/parity/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN rustup target add wasm32-unknown-unknown
# install parity-evm
RUN git clone --recursive --single-branch --branch evm-code-bencher https://github.com/cdetrio/parity
RUN cd parity/evmbin && cargo build --release
RUN mv parity /

# deps required to build full parity for native precompile benchmarks
RUN apt-get update
Expand Down
3 changes: 2 additions & 1 deletion evm/scripts/merge.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/python3

import csv
import os

RESULT_CSV_OUTPUT_PATH = "/evmraceresults/"
EVMS = ["evmone", "parity", "geth", "cita-vm"]
RESULT_FILE = "evm_benchmarks.csv"
RESULT_FILE = os.path.join(RESULT_CSV_OUTPUT_PATH + "evm_benchmarks.csv")

def main():
fieldnames = ['engine', 'test_name', 'total_time', 'gas_used']
Expand Down

0 comments on commit be534d3

Please sign in to comment.