mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
chore: fix codspeed build (#14588)
This commit is contained in:
21
.github/scripts/codspeed-build.sh
vendored
21
.github/scripts/codspeed-build.sh
vendored
@ -4,20 +4,11 @@ set -eo pipefail
|
|||||||
# TODO: Benchmarks run WAY too slow due to excessive amount of iterations.
|
# TODO: Benchmarks run WAY too slow due to excessive amount of iterations.
|
||||||
|
|
||||||
cmd=(cargo codspeed build --profile profiling)
|
cmd=(cargo codspeed build --profile profiling)
|
||||||
excludes=(
|
crates=(
|
||||||
# Unnecessary
|
-p reth-primitives
|
||||||
--exclude reth-libmdbx
|
-p reth-trie
|
||||||
# Build is too slow
|
-p reth-trie-common
|
||||||
--exclude reth-network
|
-p reth-trie-sparse
|
||||||
# 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
|
|
||||||
)
|
)
|
||||||
|
|
||||||
"${cmd[@]}" --features test-utils --workspace "${excludes[@]}"
|
"${cmd[@]}" --features test-utils "${crates[@]}"
|
||||||
|
|
||||||
# TODO: Slow benchmarks due to too many iterations
|
|
||||||
## "${cmd[@]}" -p reth-transaction-pool --features test-utils,arbitrary
|
|
||||||
|
|||||||
Reference in New Issue
Block a user