Skip to content

Commit

Permalink
Fix local script "make flamegraph"
Browse files Browse the repository at this point in the history
  • Loading branch information
dsocolobsky committed Dec 6, 2024
1 parent 91e0b87 commit dbec9c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ loc_report_slack.txt
loc_report_github.txt
loc_report.json
ethrex.redb

flamegraph.svg
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ loc:
cargo run -p loc

flamegraph:
sudo -E CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --bin ethrex --features dev -- --network test_data/genesis-l2.json --http.port 1729
sudo -E CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --bin ethrex --features dev -- --network test_data/genesis-l2.json --http.port 1729 &
bash scripts/flamegraph.sh

test-load:
ethrex_l2 test load --path ./test_data/private_keys.txt -i 1000 -v --value 10000000 --to 0xFCbaC0713ACf16708aB6BC977227041FA1BC618D
File renamed without changes.

0 comments on commit dbec9c7

Please sign in to comment.