Sublime Forum

Slow startup?

#1

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.

0 Likes

#2

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.

0 Likes

#3

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.

0 Likes

#4

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.

0 Likes

#5

Here is a cut and paste of my Console – is all of that ‘Reloading plugin’ stuff the cause?

[quote]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[/quote]

0 Likes

#6

And here’s what I have in my Console:

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

0 Likes

#7

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.

0 Likes

#8

I’m getting about 8-10 seconds after a restart, and then reopening is only a couple of seconds.

0 Likes

#9

Everything is looking normal there, FWIW.

0 Likes

#10

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.

0 Likes

#11

Hmm… I´m on a Mac Book Pro with 2.53GHz Core 2 Duo, 4GB and a SSD… It takes at least six or seven seconds to start… I thought it was an “Alpha” thing, but it’s been too slow always to start. I was actually hoping and waiting for a faster startup version.

Opening takes a lot, and subsequent launches don’t seem to make a difference for me… hmm …nope it’s always taking like seven seconds from the time I click the Sublime Text icon to when the window is finally open. How can I help to see what it might be?

0 Likes

#12

Try deleting your …/Data/Settings/Session.sublime-session (this will delete your session obviously).

If it helps speed up your launch time at least you know where the slow down lies.

0 Likes

#13

Slow startup issue is fixed for me on Build 2060.

0 Likes

#14

aye – wanted to chime in and say this issue is fixed for me as well… which makes me very happy!

0 Likes

#15

My boot time is around 18 seconds. When I look at the console I see 17 seconds is “pre session restore time.” Subsequent boots during the day are super fast (1-2sec). Only the initial boot is slow. Anything I can do to improve this other than deleting …/Data/Settings/Session.sublime-session?

I am running…version: 2165 windows x64, channel: stable

0 Likes