Slow session startup (now w/ Runtime startup diagnostics) #12304
Replies: 9 comments 18 replies
|
This feels exactly like: It takes me well over a minute to get Positron started. If I switch folders after it's open that cuts the time about in half. Restarting Positron takes goes back to >1 minute: Initial open: Changing folder: Restart Positron: |
|
I think I'm having the same issue... startup times seems to be very inconsistent, but it always takes longer than it should do. In my case, I disabled everything associated with Python, and most of my 3rd-party extensions. If I'm reading the runtime table properly, the slowest step by far is:
The R language pack shows a 3 minute delay between discovering 4.5.3 and 4.5.2, but I've no idea why: This has persisted across multiple PCs, Positron installs, and R versions, more or less since I started using the IDE a few months ago. |
|
Thanks Julia! I know there are several ongoing issues related to session startup, so I'm not sure if this is the right place, but even with the interpreter override there's still a 2.5 minute delay before R starts: Positron Runtime Performance Marks
2026.05.28 - positron diag app open then close.txt 2026.05.28 - R output logs.log As an aside that may or may not prove to be related, I see that I've ended up with ark.exe installed in two locations: Is this anything? |
|
After the latest June update startup times have definitely improved, but it can still take more than a minute to start up. Thought I would share some more diagnostics. positron_startup_diagnostics_2.txt |
|
My startup times have mostly improved since the update, but I'm still seeing delays primarily at the OneDrive folder, after fresh restart (never opened in Positron before): Non-OneDrive folder, after fresh restart: Same OneDrive folder, opened after non-OD folder: Opening the same folder a second time does seem to be a lot faster, but opening different folders is a mixed bag. |
|
+1 to still experiencing slow startup after 2026.06.0. Here are my diagnostics for a ~2 minute startup: Runtime Startup Diagnostics.txt |
|
I had the same long start-up times on a corporate laptop, and can confirm that disabling antivirus on the Positron and extensions folders strongly improved start-up time! I used the following Powershell commands: Add-MpPreference -ExclusionPath "C:\Program Files\Positron\"
Add-MpPreference -ExclusionPath C:\Users\<USERNAME>\.positron\extensions\ |
|
Hello, OP here. The startup times have improved with each release, but things are still quite slow on my corporate laptop. Here are my diagnostics: Runtime Startup Diagnostics.txt Thank you Julia for helping all of us with these issues, because we really want to use Positron! But it is not a common piece of software in our organization, so IT doesn't know how to support us, and we are left to troubleshoot on our own. If you believe it's a Defender/cybersecurity issue, is there a recommendation of what specific requests I can make to IT? |

Uh oh!
There was an error while loading. Please reload this page.
I'm taking @juliasilge 's advice and opening a new discussion for my persistent slow startup issue.
R 4.5.1 loads by default and usually takes several minutes. Once the first R session finally loads, additional R sessions start quickly (~6 seconds). I notice that Positron always seems to spend a long time discovering Python interpreters, even after an R session starts.
Windows Defender exceptions
In case this has anything to do with Windows Defender, here are the permissions. No additional permissions are allowed by my IT policy.
Runtime Startup Diagnostics
Runtime Startup Diagnostics.txt
All reactions