Well first of all, a .capx would be useful.
Since every project is unique, I can't tell much from just those information...
The compilation process is unlikely to be the problem.
But since the debugging view sometimes is a bit slower compared to the normal preview (at least on my old Laptop), that could be an issue.
But to tell more, I'd need the .capx of your project.