Skip to content

EVM: Refit the automated benchmark runner to target the EVM kernel

Hantang Sun requested to merge hantang@evm@gasometer4 into master

Context

Related: #6091

Benchmarking was previously done using the benchmark kernel. Now, with scenario generation targeting the EVM kernel !9545(merged), we can properly benchmark the evm kernel. This MR upgrades the automated benchmarking script to target the EVM kernel.

Manually testing the MR

First, build the evm kernel using make -C src/kernel_evm/

Then run the script using node src/kernel_evm/kernel_benchmark/scripts/run_benchmarks.js

The result would be outputted to benchmark_result.csv

The benchmark result for the current EVM kernel can be found here

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 Hantang Sun

Merge request reports