I have previously seen programs run much more slowly when launched from the built-in terminal in a JetBrains IDE because log output was blocked.