Home Download Buy Blog Forum Support

Slow startup?

Slow startup?

Postby badcircle on Mon Mar 21, 2011 8:54 pm

Does anyone have tips or tricks to speed up Sublime's startup time? It takes about 9 seconds for the Sublime window to open once I click the app on my 2.8ghz Intel Core i7 / 8gb iMac and about 6 seconds on my Mac Book Air with a SSD.
badcircle
 
Posts: 4
Joined: Wed Jun 23, 2010 3:54 am

Re: Slow startup?

Postby jps on Mon Mar 21, 2011 9:50 pm

Startup takes around 1-2s for me.

It takes longer the first time you start it after installing a new version, as it has to upgrade the packages. You may want to check that it's not trying to do this when it shouldn't: open up the console, and check that the line "PackageSetup not required" is there, near the top.

Also, I realize you're on a Mac, but do you have any virus checking software installed? This kind of software can dramatically slow down file IO.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Slow startup?

Postby atomi on Mon Mar 21, 2011 10:57 pm

Windows 7 here Build 2051 and startup is about 1-2 seconds w/ custom plugins...

Although it was a bit slower 5-6 seconds on some previous builds.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: Slow startup?

Postby maxart on Tue Mar 22, 2011 12:29 pm

It takes several seconds as well for me (9+ seconds). Startup feels rather slow compared to TextMate's.
Mac OS X 10.6.6, Intel X25-M SSD (without any anti-virus software) - Sublime Text 2 Build 2050

I do have "PackageSetup not required" in the console.
maxart
 
Posts: 5
Joined: Fri Mar 18, 2011 10:35 am

Re: Slow startup?

Postby badcircle on Tue Mar 22, 2011 2:30 pm

Here is a cut and paste of my Console -- is all of that 'Reloading plugin' stuff the cause?

startup, version: 2051 osx x32 channel: stable
executable: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
working dir: /
packages path: /Users/adwood/Library/Application Support/Sublime Text 2/Packages
settings path: /Users/adwood/Library/Application Support/Sublime Text 2/Settings
PackageSetup not required
catalogue loaded
found 1 files for base name Default.sublime-theme
found 3 files for base name Default (OSX).sublime-keymap
found 1 files for base name Default (OSX).sublime-mousemap
found 1 files for base name Main.sublime-menu
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/comment.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/copy_path.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/delete_word.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/detect_indentation.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/duplicate_line.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/echo.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/exec.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/find_under_expand.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/font.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/goto_line.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/indentation.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/kill_ring.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/mark.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/new_templates.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/paragraph.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/save_on_focus_lost.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/scroll.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/side_bar.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/sort.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/swap_line.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/switch_file.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/transform.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/transpose.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Default/trim_trailing_white_space.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/Diff/diff.py
Reloading plugin /Users/adwood/Library/Application Support/Sublime Text 2/Packages/HTML/html_completions.py
loading bindings
loading pointer bindings
theme loaded
app ready
loaded 916 snippets
badcircle
 
Posts: 4
Joined: Wed Jun 23, 2010 3:54 am

Re: Slow startup?

Postby maxart on Tue Mar 22, 2011 2:53 pm

And here's what I have in my Console:

Code: Select all
startup, version: 2050 osx x32 channel: dev
executable: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
working dir: /
packages path: /Users/max/Library/Application Support/Sublime Text 2/Packages
settings path: /Users/max/Library/Application Support/Sublime Text 2/Settings
error parsing session: No data at: 0:0
PackageSetup not required
catalogue loaded
found 1 files for base name Default.sublime-theme
found 3 files for base name Default (OSX).sublime-keymap
found 1 files for base name Default (OSX).sublime-mousemap
found 1 files for base name Main.sublime-menu
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/comment.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/copy_path.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/delete_word.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/detect_indentation.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/duplicate_line.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/echo.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/exec.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/find_under_expand.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/font.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/goto_line.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/indentation.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/kill_ring.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/mark.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/new_templates.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/paragraph.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/save_on_focus_lost.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/scroll.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/side_bar.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/sort.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/swap_line.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/switch_file.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/transform.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/transpose.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Default/trim_trailing_white_space.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/Diff/diff.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/HTML/html_completions.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/HTML/zen_core.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/ZenCoding/A1Zen.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/ZenCoding/dynamicsnippets.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/ZenCoding/initzen.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/ZenCoding/multizen.py
Reloading plugin /Users/max/Library/Application Support/Sublime Text 2/Packages/ZenCoding/zc.py
loading bindings
loading pointer bindings
theme loaded
app ready
loaded 909 snippets
maxart
 
Posts: 5
Joined: Fri Mar 18, 2011 10:35 am

Re: Slow startup?

Postby meno on Tue Mar 22, 2011 3:17 pm

takes some seconds for me too but i thought thats just how it is. textmate is not really faster. the program sits in the dock anyways after that and its instantly there so i really dont care.
meno
 
Posts: 9
Joined: Thu Mar 03, 2011 7:27 am

Re: Slow startup?

Postby JLikeF on Tue Mar 22, 2011 6:29 pm

I'm getting about 8-10 seconds after a restart, and then reopening is only a couple of seconds.
JLikeF
 
Posts: 19
Joined: Tue Aug 10, 2010 8:42 pm

Re: Slow startup?

Postby jps on Tue Mar 22, 2011 9:24 pm

badcircle wrote:Here is a cut and paste of my Console


Everything is looking normal there, FWIW.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Slow startup?

Postby oats on Wed Mar 23, 2011 4:51 pm

I have the same experience on OS X -- first startup takes 10-15 seconds, subsequent launches takes 1-2 seconds. Not a deal-breaker, but does seem a little strange.
oats
 
Posts: 101
Joined: Mon Nov 09, 2009 4:39 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: Astrophizz and 28 guests