Home Download Buy Blog Forum Support

Extremely long start up time

Extremely long start up time

Postby gregor.hoch on Thu Jun 21, 2012 7:23 am

Hi, I am experiencing extremely long ST2 2203 start-up times on Mac OS X 10.7.4. My suspicion is that it's a package but I might be wrong. Is there a way to check how much time each package needs during startup? Of course, I can try disabling packages and restarting. But with the current situation that is going to take pretty long...

Thanks!
gregor.hoch
 
Posts: 144
Joined: Sat Oct 01, 2011 7:54 pm

Re: Extremely long start up time

Postby tito on Wed Jun 27, 2012 9:33 pm

the console on startup says the amount of time plugins take from load.

Open "instalationfolder\Sublime Text 2\sublime_plugin.py"

There look for

Code: Select all
print "Reloading plugin", fname


Change it to

Code: Select all
print "Reloading plugin", fname
start = time.time();


At the bottom of that function..

Code: Select all
print time.time() - start



..

Maybe you have a very big or buggy "C:\......\Sublime Text 2\Settings\Session.sublime_session",

try deleting that file.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: Extremely long start up time

Postby jps on Thu Jun 28, 2012 6:42 am

Also, check the console at startup, and look for messages along these lines:

Code: Select all
plugin init time: 0.288352
startup time: 0.88925 (package setup was not run)
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 18 guests