Update iai benchmarks to use iai-callgrind (#7534)

This commit is contained in:
Abner Zheng
2024-04-10 22:48:51 +08:00
committed by GitHub
parent b9c677ef9a
commit 8d3085617d
4 changed files with 96 additions and 25 deletions

View File

@ -40,6 +40,13 @@ jobs:
main -> target
pr -> target
cache-on-failure: true
- name: Install iai-callgrind-runner
run: |
version=$(cargo metadata --format-version=1 |\
jq '.packages[] | select(.name == "iai-callgrind").version' |\
tr -d '"'
)
cargo install iai-callgrind-runner --version $version
- name: Generate test vectors
run: |
cargo run --bin reth --manifest-path main/Cargo.toml -- test-vectors tables