{"action":"created","issue":{"url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/164","labels_url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/164/comments","events_url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/164/events","html_url":"https://github.com/LaTeXing/LaTeXing/issues/164","id":92010329,"number":164,"title":"Performance issues","user":{"login":"N4M3Z","id":2804910,"avatar_url":"https://avatars.githubusercontent.com/u/2804910?v=3","gravatar_id":"","url":"https://api.github.com/users/N4M3Z","html_url":"https://github.com/N4M3Z","followers_url":"https://api.github.com/users/N4M3Z/followers","following_url":"https://api.github.com/users/N4M3Z/following{/other_user}","gists_url":"https://api.github.com/users/N4M3Z/gists{/gist_id}","starred_url":"https://api.github.com/users/N4M3Z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N4M3Z/subscriptions","organizations_url":"https://api.github.com/users/N4M3Z/orgs","repos_url":"https://api.github.com/users/N4M3Z/repos","events_url":"https://api.github.com/users/N4M3Z/events{/privacy}","received_events_url":"https://api.github.com/users/N4M3Z/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T07:12:21Z","updated_at":"2015-06-30T13:03:46Z","closed_at":null,"body":"This is a followup on the performance issues mentioned in #162. Given a high number of packages installed in Sublime Text there is a highly laggy keyboard input into files handled by `LaTeXing`. I tried turning off other packages but could not determine the origin of the problem. It seems that disabling about 50% of my packages \"solves\" the issue. I cannot reproduce this for syntaxes handled by different packages (like `.py`) and it is unlikely that the issue is caused by linting (I tried turning it off). The following is a list of packages I am using:\r\n```\r\n\t\"installed_packages\":\r\n\t[\r\n\t\t\"Advanced CSV\",\r\n\t\t\"Alignment\",\r\n\t\t\"All Autocomplete\",\r\n\t\t\"Anaconda\",\r\n\t\t\"AngularJS\",\r\n\t\t\"ApplySyntax\",\r\n\t\t\"AutoDocstring\",\r\n\t\t\"BracketHighlighter\",\r\n\t\t\"BufferScroll\",\r\n\t\t\"Character Table\",\r\n\t\t\"CMake\",\r\n\t\t\"Color Highlighter\",\r\n\t\t\"Colorcoder\",\r\n\t\t\"ColorPicker\",\r\n\t\t\"CTags\",\r\n\t\t\"DashDoc\",\r\n\t\t\"DataConverter\",\r\n\t\t\"Dictionaries\",\r\n\t\t\"DocBlockr\",\r\n\t\t\"Emmet\",\r\n\t\t\"Evernote\",\r\n\t\t\"File History\",\r\n\t\t\"File Navigator\",\r\n\t\t\"FileBrowser\",\r\n\t\t\"FuzzyFilePath\",\r\n\t\t\"Gist\",\r\n\t\t\"Github Tools\",\r\n\t\t\"Gitignore\",\r\n\t\t\"Glue\",\r\n\t\t\"HexViewer\",\r\n\t\t\"Highlighter\",\r\n\t\t\"HTML-CSS-JS Prettify\",\r\n\t\t\"HTMLAttributes\",\r\n\t\t\"LaTeX-cwl\",\r\n\t\t\"LaTeXing\",\r\n\t\t\"Mako\",\r\n\t\t\"Markdown Preview\",\r\n\t\t\"MarkdownEditing\",\r\n\t\t\"MongoExec\",\r\n\t\t\"Package Control\",\r\n\t\t\"Package Syncing\",\r\n\t\t\"PackageResourceViewer\",\r\n\t\t\"PlainTasks\",\r\n\t\t\"Preference Helper\",\r\n\t\t\"Preferences Editor\",\r\n\t\t\"Project Manager\",\r\n\t\t\"Schemr\",\r\n\t\t\"SFTP\",\r\n\t\t\"SideBarEnhancements\",\r\n\t\t\"SublimeCodeIntel\",\r\n\t\t\"SublimeGit\",\r\n\t\t\"SublimeLinter\",\r\n\t\t\"SublimeLinter-chktex\",\r\n\t\t\"SublimeLinter-contrib-bootlint\",\r\n\t\t\"SublimeLinter-cppcheck\",\r\n\t\t\"SublimeLinter-csslint\",\r\n\t\t\"SublimeLinter-html-tidy\",\r\n\t\t\"SublimeLinter-javac\",\r\n\t\t\"SublimeLinter-jshint\",\r\n\t\t\"SublimeLinter-json\",\r\n\t\t\"SublimeLinter-lua\",\r\n\t\t\"SublimeLinter-php\",\r\n\t\t\"SublimeLinter-pylint\",\r\n\t\t\"SublimeLinter-ruby\",\r\n\t\t\"SublimeLinter-shellcheck\",\r\n\t\t\"Sublimerge Pro\",\r\n\t\t\"SVN\",\r\n\t\t\"Swift\",\r\n\t\t\"Terminal\",\r\n\t\t\"tern_for_sublime\",\r\n\t\t\"Theme - Cobalt2\",\r\n\t\t\"Theme - Flatgrammer\",\r\n\t\t\"Theme - Fox\",\r\n\t\t\"Theme - Gravity\",\r\n\t\t\"Theme - Lyte\",\r\n\t\t\"Theme - Piatto\",\r\n\t\t\"Theme - Soda\",\r\n\t\t\"Theme - Spacegray\",\r\n\t\t\"Themr\",\r\n\t\t\"TrailingSpaces\",\r\n\t\t\"UnicodeMath\",\r\n\t\t\"VCS Gutter\",\r\n\t\t\"View In Browser\"\r\n\t],\r\n```\r\nThe issue can be reproduced using a LaTeX MWE provided the file is saved. The lag occurs about every 20 characters on my machine (MacBook Pro 2011, i7 2.2 GHz, 16 GB RAM). Please let me know if I can help with this in any way."},"comment":{"url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/comments/117170242","html_url":"https://github.com/LaTeXing/LaTeXing/issues/164#issuecomment-117170242","issue_url":"https://api.github.com/repos/LaTeXing/LaTeXing/issues/164","id":117170242,"user":{"login":"csch0","id":3438979,"avatar_url":"https://avatars.githubusercontent.com/u/3438979?v=3","gravatar_id":"","url":"https://api.github.com/users/csch0","html_url":"https://github.com/csch0","followers_url":"https://api.github.com/users/csch0/followers","following_url":"https://api.github.com/users/csch0/following{/other_user}","gists_url":"https://api.github.com/users/csch0/gists{/gist_id}","starred_url":"https://api.github.com/users/csch0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csch0/subscriptions","organizations_url":"https://api.github.com/users/csch0/orgs","repos_url":"https://api.github.com/users/csch0/repos","events_url":"https://api.github.com/users/csch0/events{/privacy}","received_events_url":"https://api.github.com/users/csch0/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T13:03:46Z","updated_at":"2015-06-30T13:03:46Z","body":"A lot of packages..., Sublime Text was on my machine basically unusable (MacBook Air 2013). So you have null performance issues if LaTeXing is disabled?\r\n\r\nTo see if LaTeXing is really the reason on your system, what I don't think tbh, I could sent you a testing version with disabled keyboard listener to see if that helps."}}