Python Profiling Activate option in developer settings.Profiling files are written, which can be investigated.