How do I debug performance leaks?

there’s a lot of reasons of why this happens, I recommend you check this post out on how to prevent it.