Skip to content

How to Profile ultraman

yukihirop edited this page Mar 26, 2022 · 1 revision

If you are using macOS, run the following in a terminal in recovery mode to release SIP

csrutil enable --without dtrace

e.g)

cargo install flamegraph
sudo -E CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph -o flamegraph-`date +%Y%m%d_%H%M%S`.svg --bin=ultraman -- start -f ./tmp/Procfile

image

Clone this wiki locally