Skip to content

EVM: bench: dockerfile

Pierre-Emmanuel CORNILLEAU requested to merge pec@evm@dockerfile_2 into master

Context

Replaces !9769 (closed)

Contributes to #6091

Follows !9862 (merged)

To run the benchmarks, the goal is to build a docker image containing the necessary binaries and scripts. Using docker allows us to avoid any installation/compilation to run the binaries.

To make it easier, in the first version of the benchmark scheme, the image will be built on the benchmark server, after pulling the latest version of the scripts. The image starts from the tezos-debug image.

Manually testing the MR

Build the image:

cd src/kernel_evm/benchmarks
docker build -t evm-benchmark . 

Run the image:

./docker/start_image.sh

Should create a repertory output and begin filling two (timestamped) files:

  • benchmark_result_2023-08-31T14-13-31.932Z.csv
  • stdout_2023-08-31T14-13-31

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Pierre-Emmanuel CORNILLEAU

Merge request reports