diff --git a/Cargo.toml b/Cargo.toml index 67f0c5d..94fe5f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,3 +28,6 @@ clap = { version = "4.5.28", features = ["derive"] } tracing-subscriber = { version = "0.3.19", features = ["json", "env-filter"] } dirs = "5.0.1" dark-light = "1.1.1" + +[profile.release] +debug = true diff --git a/Makefile b/Makefile index 00a3081..526dae9 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,10 @@ tui-attach: tui-launch: cargo r -p tui -- launch.json -n Launch -b test.py:4 +.PHONY: profile-tui-launch +profile-tui-launch: + cargo flamegraph --root -p tui --release -- launch.json -n Launch -b test.py:4 + .PHONY: repl-attach repl-attach: cargo r -p repl -- launch.json -n Attach -b attach.py:29