Download and run Tracy from here.
Execute the app with the following arguments:
--enable omni.kit.profile_python --enable omni.kit.profiler.tracy --enable omni.kit.profiler.window --/app/profilerBackend="tracy" --/app/profileFromStart=true
This enables profiling when starting your app.
If you don't need to run profiling from the beginning, simply run with:
--enable omni.kit.profile_python --enable omni.kit.profiler.tracy --enable omni.kit.profiler.window --/app/profilerBackend="tracy"
Then, you can press F5
to start/stop the profiling.