6. Choose the right profiler
A Lean command can be slow in three distinct places. Lean may spend time elaborating and compiling the program. The running application may spend time reading data, searching, serving requests, or waiting at a foreign boundary. A library or device runtime may spend time in native functions, memory copies, and kernels. No single profiler sees all three.
The views can support one investigation, but their events and timing columns answer different questions.