Run something like the following.
cargo flamegraph --profile profiling --root --bench maxn -- --profile-time 10 --bench
commit 1208fb185747a817a0daa96256da9009982bd620 Author: Ryan <ryguy.srht@mailbox.org> Date: 2024-06-19T19:53:36-04:00 chore: setup