Home Download Buy Blog Forum Support

Slow boot. "startup time: 42.7384"

Slow boot. "startup time: 42.7384"

Postby appel on Fri Sep 21, 2012 8:03 am

My ST2 setup sure is taking it's sweet time to boot lately. :) According to the console it's clocking 42.7384, but other than that raw fact it's hard for me to figure out what is making it so slow.

I was wondering if there's any way to have ST2 log the time for all the stuff it does when booting. I'm sure it has nothing to do with ST2 itself, but rather with the way I have it setup: a bunch of plugins and a symlink setup to sync my settings through Dropbox.

Thanks!

Edit: here's the log:

Code: Select all
startup, version: 2217 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 2/sublime_text.exe
working dir: /C/Windows/system32
packages path: /C/Users/appel/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/appel/AppData/Roaming/Sublime Text 2/Settings
package /C/Users/appel/AppData/Roaming/Sublime Text 2/Installed Packages/HtmlTidy.sublime-package is newer than the installed version (/C/Users/appel/AppData/Roaming/Sublime Text 2/Pristine Packages/HtmlTidy.sublime-package), running PackageSetup
Py_GetProgramName(): sublime_text.exe
Py_GetExecPrefix(): C:\Program Files\Sublime Text 2
Py_GetProgramFullPath(): C:\Program Files\Sublime Text 2\sublime_text.exe
Py_GetPath(): C:\Program Files\Sublime Text 2\python26.zip;C:\Program Files\Sublime Text 2\DLLs;C:\Program Files\Sublime Text 2\lib;C:\Program Files\Sublime Text 2\lib\plat-win;C:\Program Files\Sublime Text 2\lib\lib-tk;C:\Program Files\Sublime Text 2
Py_GetPythonHome(): C:\Program Files\Sublime Text 2
PackageSetup returned: -1
catalogue loaded
found 20 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 21 files for base name Main.sublime-menu
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Abacus\Abacus.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Auto Semi-Colon\AutoSemiColon.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\BracketHighlighter\BracketHighlighter.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\BracketHighlighter\Elements.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\BracketHighlighter\bracket_plugin.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\CSS\css_completions.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\CSScomb\CSScomb.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Color Highlighter\ColorHighlighter.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Color Highlighter\colors.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ConvertToUTF8\ConvertToUTF8.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\open_in_browser.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\DocBlockr\jsdocs.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\add.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\annotate.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\commit.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\diff.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\flow.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\git.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\history.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\repo.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\stash.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\status.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Git\statusbar.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Goto Documentation\gotodocumentation.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\GotoRecent\goto_recent.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Hex-to-RGBA\Hex-to-RGBA.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\HtmlTidy\html_tidy.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Inc-Dec-Value\inc_dec_value.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\IndentGuides\indent_guides.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\LineEndings\LineEndings.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Markdown Preview\MarkdownPreview.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Markdown Preview\markdown2.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\MoveText\move_text.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\PHPUnit\phpunit.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\PlainTasks\PlainTasks.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Prefixr\Prefixr.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SideBarEnhancements\SideBar.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SideBarEnhancements\StatusBarFileSize.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SideBarEnhancements\StatusBarModifiedTime.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SortTabs\auto_sort_tabs.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SortTabs\sort_tabs.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Sublime-HTMLPrettify\HTMLPrettify.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\SublimeLinter\SublimeLinter.py
imported capp_lint
imported pep8
imported pyflakes
imported pyflakes.checker
imported pyflakes.messages
SublimeLinter: CoffeeScript loaded
SublimeLinter: CSS loaded
SublimeLinter: Git Commit Message loaded
SublimeLinter: Ruby Haml loaded
SublimeLinter: HTML loaded
SublimeLinter: Java loaded
SublimeLinter: JavaScript loaded
SublimeLinter: Annotations loaded
SublimeLinter: Objective-J loaded
SublimeLinter: Perl loaded
SublimeLinter: PHP loaded
SublimeLinter: Puppet loaded
SublimeLinter: Python loaded
SublimeLinter: Ruby loaded
SublimeLinter: pylint loaded
SublimeLinter: XML loaded
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Synchronized File Scrolling\synchroscroll.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\Xdebug\Xdebug.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\dynamicsnippets.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\sublimezen.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\sublimezenplugin.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\zenarbitrage.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\zenmeta.py
Reloading plugin C:\Users\appel\AppData\Roaming\Sublime Text 2\Packages\ZenCoding\zentrackers.py
plugin init time: 0.446691
loading bindings
loading pointer bindings
found 1 files for base name Nil.sublime-theme
theme loaded
app ready
pre session restore time: 1.06547
ReadDirectoryChangesW failed
wrote startup cache, added files: 10 orphaned files: 0 total files: 187 cache hits: 177
startup time: 42.7384 (package setup was run)
found 1 files for base name Nil.sublime-theme
theme loaded
loaded 1289 snippets
Package Control: Skipping automatic upgrade, last run at 2012-09-21 09:24:57, next run at 2012-09-21 10:24:57 or after
reloading /C/Users/appel/AppData/Roaming/Sublime Text 2/Packages/User/Package Control.sublime-settings
appel
 
Posts: 3
Joined: Fri Sep 21, 2012 7:51 am

Re: Slow boot. "startup time: 42.7384"

Postby dataweb on Thu Jan 10, 2013 9:53 pm

I'm experiencing this also. Sometimes it takes sublime up to 5 minutes to actually launch. The process list shows it's active, just nothing on the screen...not even a waiting cursor.

I have used Sublime at home for some time and LOVE IT. But then I'm teaching web development and we can't install just anything on the classroom computers. So I had my students download the portable version and save it to their desktop. I think this might be the key here is having the portable version on the desktop (unsure though). It works FINE at home, but on the computers at the school, and the portable version, it's sooo slow we have to double click it and then go do something else to wait for it to open.

If Sublime wasn't so amazing, I'd switch to something else, but I'd really like my students to learn it. Nonetheless, the slowness is really starting to cause issues. Got any ideas or suggestions??? Anyone?

I don't think we can easily take it off the desktop because the profiles are roaming and need to stay connected to the logged in user. So hopefully, if that is the issue, we can find a workaround.

-Renee
dataweb
 
Posts: 1
Joined: Thu Jan 10, 2013 9:49 pm

Re: Slow boot. "startup time: 42.7384"

Postby jbjornson on Fri Jan 11, 2013 8:54 am

My first thought was that you have quite a few plugins and that they are likely the cause of the delay. I'd try starting with a clean install and add plugins one-by-one to see which one slows down SublimeText.
jbjornson
 
Posts: 335
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Slow boot. "startup time: 42.7384"

Postby shvfn on Fri Jan 11, 2013 6:11 pm

Just a guess: check the filesize of all files in your packages/user-directory. Maybe there are some very large files in there which slowdown startup.

Background: when I edited a copy of a tmTheme-file, I somehow managed to create an evergrowing xml-File. After some days it was already bigger than 4 MB (original size is 11 KB). The reason for that were hundreds of lines like this in the head of the file:

<dict><key>name</key><string>mon_color</string><key>scope</key><string>mcol_FFFFFFFF</string><key>settings</key><dict><key>background</key><string>#FFFFFFFF</string><key>caret</key><string>#000000FF</string><key>foreground</key><string>#000000FF</string></dict></dict>
<dict><key>name</key><string>mon_color</string><key>scope</key><string>mcol_FFFFFFFF</string><key>settings</key><dict><key>background</key><string>#FFFFFFFF</string><key>caret</key><string>#000000FF</string><key>foreground</key><string>#000000FF</string></dict></dict>

I don't know what went wrong, I deleted these lines and now it works.
shvfn
 
Posts: 5
Joined: Sat Dec 22, 2012 10:11 am


Return to Technical Support

Who is online

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