-
Notifications
You must be signed in to change notification settings - Fork 97
perf(l1,l2): use the new load test for the CI scripts #2467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Lines of code reportTotal lines added: Detailed view
|
# By default ethrex uses revm as evm backend. | ||
- id: generate-flamegraph-ethrex | ||
name: Generate Flamegraph data for Ethrex | ||
shell: bash | ||
run: | | ||
rm -rf target/release/ethrex | ||
cargo build --release --bin ethrex --features dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll get better results building with:
cargo build --release --bin ethrex --features dev | |
cargo build --profile release-with-debug --bin ethrex --features dev |
echo "Waiting for ethrex binary to be ready..." | ||
sleep 2 | ||
done | ||
--bin ethrex --release --features dev -- \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a suggestion.
Changes: - Flamegraph Watcher srcript now: - Uses the new load test. - Fails if any line fails (e.g. the load test binary panics). - CI: - The flamegraphs are now updated on push to main again. - Compilation and running is separated to delete the "while not compiled" polling. - Reth version is pinned so it does not rely on 2024 features and can be compiled again. - Load test: - `make` targets now run in release mode. - now waits until all transactions are included before exciting. There's a flag to set a timeout. - All ethrex_l2 references are deleted from CI and the watcher. Closes lambdaclass#2466
Changes:
make
targets now run in release mode.Closes #2466