I have a big kotlin project that takes about 3-5 minutes to start up using the play button in IntelliJ. So now I wanted to know why it takes so long, so I tried the new Java Flight Recorder to figure what was wrong, and found that nothing was wrong and by using java flight recorder it actually started in 1-3 seconds and everything is working fine.
Does anyone know what it could be that I'm doing wrong?