{"action":"created","issue":{"url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/72","labels_url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/72/comments","events_url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/72/events","html_url":"https://github.com/christoomey/vim-tmux-navigator/issues/72","id":72256076,"number":72,"title":"Switching out of Vim slow","user":{"login":"SeeThruHead","id":8273939,"avatar_url":"https://avatars.githubusercontent.com/u/8273939?v=3","gravatar_id":"","url":"https://api.github.com/users/SeeThruHead","html_url":"https://github.com/SeeThruHead","followers_url":"https://api.github.com/users/SeeThruHead/followers","following_url":"https://api.github.com/users/SeeThruHead/following{/other_user}","gists_url":"https://api.github.com/users/SeeThruHead/gists{/gist_id}","starred_url":"https://api.github.com/users/SeeThruHead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeeThruHead/subscriptions","organizations_url":"https://api.github.com/users/SeeThruHead/orgs","repos_url":"https://api.github.com/users/SeeThruHead/repos","events_url":"https://api.github.com/users/SeeThruHead/events{/privacy}","received_events_url":"https://api.github.com/users/SeeThruHead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-04-30T19:15:48Z","updated_at":"2015-05-19T15:26:27Z","closed_at":null,"body":"It takes roughly 2.5 seconds to switch from vim to another tmux pane. Switching inside vim or between non vim tmux panes is instant. I'm not sure if it was happening when I initially installed this plugin.\r\n\r\nWould you happen to know what is causing it? Or maybe what setting I messed with that caused this?\r\n\r\n![Screencast](http://g.recordit.co/QvU534OmRT.gif)"},"comment":{"url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/comments/103550118","html_url":"https://github.com/christoomey/vim-tmux-navigator/issues/72#issuecomment-103550118","issue_url":"https://api.github.com/repos/christoomey/vim-tmux-navigator/issues/72","id":103550118,"user":{"login":"montlebalm","id":739390,"avatar_url":"https://avatars.githubusercontent.com/u/739390?v=3","gravatar_id":"","url":"https://api.github.com/users/montlebalm","html_url":"https://github.com/montlebalm","followers_url":"https://api.github.com/users/montlebalm/followers","following_url":"https://api.github.com/users/montlebalm/following{/other_user}","gists_url":"https://api.github.com/users/montlebalm/gists{/gist_id}","starred_url":"https://api.github.com/users/montlebalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montlebalm/subscriptions","organizations_url":"https://api.github.com/users/montlebalm/orgs","repos_url":"https://api.github.com/users/montlebalm/repos","events_url":"https://api.github.com/users/montlebalm/events{/privacy}","received_events_url":"https://api.github.com/users/montlebalm/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T15:26:27Z","updated_at":"2015-05-19T15:26:27Z","body":"@christoomey you might have already done this, but I figured it would be helpful to have a profile of the slowness. Here's what it looks like on my machine:\r\n\r\n```\r\nFUNCTIONS SORTED ON TOTAL TIME\r\ncount  total (s)   self (s)  function\r\n    1   0.570801   0.000057  <SNR>24_TmuxWinCmd()\r\n    1   0.570735   0.000190  <SNR>24_TmuxAwareNavigate()\r\n    2   0.000459   0.000095  <SNR>55_OnCursorHold()\r\n    2   0.000180   0.000088  <SNR>55_OnFileReadyToParse()\r\n    2   0.000117             <SNR>55_AllowedToCompleteInCurrentFile()\r\n    2   0.000067             <SNR>55_SetUpCompleteopt()\r\n    2   0.000066   0.000048  <SNR>55_UpdateDiagnosticNotifications()\r\n    2   0.000026             <SNR>55_SetUpYcmChangedTick()\r\n    2   0.000018             <SNR>55_DiagnosticUiSupportedForCurrentFiletype()\r\n    1   0.000009             <SNR>24_InTmuxSession()\r\n```"}}