From 36851cc8d889d13d206896fac04a056c8b163581 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:41:08 +0100 Subject: [PATCH] chore: fix codspeed build (#14588) --- .github/scripts/codspeed-build.sh | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/scripts/codspeed-build.sh b/.github/scripts/codspeed-build.sh index 188ecfb88..9976a3314 100755 --- a/.github/scripts/codspeed-build.sh +++ b/.github/scripts/codspeed-build.sh @@ -4,20 +4,11 @@ set -eo pipefail # TODO: Benchmarks run WAY too slow due to excessive amount of iterations. cmd=(cargo codspeed build --profile profiling) -excludes=( - # Unnecessary - --exclude reth-libmdbx - # Build is too slow - --exclude reth-network - # Built separately - --exclude reth-transaction-pool - # TODO: some benchmarks panic: https://github.com/paradigmxyz/reth/actions/runs/12307046814/job/34349955788 - --exclude reth-db - --exclude reth-trie-parallel - --exclude reth-engine-tree +crates=( + -p reth-primitives + -p reth-trie + -p reth-trie-common + -p reth-trie-sparse ) -"${cmd[@]}" --features test-utils --workspace "${excludes[@]}" - -# TODO: Slow benchmarks due to too many iterations -## "${cmd[@]}" -p reth-transaction-pool --features test-utils,arbitrary +"${cmd[@]}" --features test-utils "${crates[@]}"