{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5702","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5702/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5702/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5702/events","html_url":"https://github.com/neovim/neovim/issues/5702","id":193100799,"number":5702,"title":"neovim is slow with UltiSnips","user":{"login":"DarkDeepBlue","id":10683473,"avatar_url":"https://avatars.githubusercontent.com/u/10683473?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDeepBlue","html_url":"https://github.com/DarkDeepBlue","followers_url":"https://api.github.com/users/DarkDeepBlue/followers","following_url":"https://api.github.com/users/DarkDeepBlue/following{/other_user}","gists_url":"https://api.github.com/users/DarkDeepBlue/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDeepBlue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDeepBlue/subscriptions","organizations_url":"https://api.github.com/users/DarkDeepBlue/orgs","repos_url":"https://api.github.com/users/DarkDeepBlue/repos","events_url":"https://api.github.com/users/DarkDeepBlue/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDeepBlue/received_events","type":"User","site_admin":false},"labels":[{"id":101930601,"url":"https://api.github.com/repos/neovim/neovim/labels/performance","name":"performance","color":"c5def5","default":false},{"id":144672485,"url":"https://api.github.com/repos/neovim/neovim/labels/provider","name":"provider","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/6","html_url":"https://github.com/neovim/neovim/milestones/todo","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/6/labels","id":655037,"number":6,"title":"todo","description":"These items are *definitely not* planned for the *current* target, but *may* be given priority for a future target. Y'know, like todo.txt ;)","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":163,"closed_issues":63,"state":"open","created_at":"2014-05-10T20:43:04Z","updated_at":"2016-12-02T15:24:48Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-12-02T12:02:51Z","updated_at":"2016-12-02T15:24:48Z","closed_at":"2016-12-02T15:24:48Z","body":"While using the UltiSnips plugin, nvim is really slow. This is an effect not seen on vim itself. The log files show the clear difference in performance.\r\n\r\n- `nvim --version`:\r\nNVIM v0.2.0-6-g3979c6c\r\nBuild type: Release\r\nCompilation: /usr/bin/cc -Wconversion -Ofast -s -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE […]\r\n\r\nOptional features included (+) or not (-): +acl   +iconv    +jemalloc +tui\r\nFor differences from Vim, see :help vim-differences\r\n\r\n   system vimrc file: \"$VIM/sysinit.vim\"\r\n  fall-back for $VIM: \"/usr/local/share/nvim\"\r\n\r\n- Vim (version: 8.0) behaves differently?\r\nVim itself has no performance issues with the same configuration using the same plugins.\r\n\r\n- Operating system/version: ArchLinux 4.8.11\r\n- Terminal name/version: zsh 5.2 running in urxvtd\r\n- `$TERM`: rxvt-unicode-256color\r\n\r\n### Actual behaviour\r\nAfter starting nvim with the UltiSnips plugin, nvim is very slow even before using any snippets.\r\n\r\nFor demonstation, the same operations were made in nvim and vim. After opening a file, one single snippet expansion was used. While it takes only 0.039952s  in vim, it takes 0.493287s in nvim. The log files show that the python provider slows down the execution.\r\n\r\n[nvim_profile.txt](https://github.com/neovim/neovim/files/627037/nvim_profile.txt)\r\n[vim_profile.txt](https://github.com/neovim/neovim/files/627038/vim_profile.txt)\r\n\r\n### Expected behaviour\r\n\r\nThe performance of vim is expected without any performance issues.\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\n\r\n```\r\nnvim -u NORC -u nvim.txt\r\n```\r\n[nvim.txt](https://github.com/neovim/neovim/files/627073/nvim.txt)\r\n\r\nAfter that expand a random UltiSnips snippet. Compare the result with vim."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/264479335","html_url":"https://github.com/neovim/neovim/issues/5702#issuecomment-264479335","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5702","id":264479335,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T15:24:48Z","updated_at":"2016-12-02T15:24:48Z","body":"What are the Vim numbers?\r\n\r\nAnyway, it's possible to make fast plugins in Neovim. The compatibility layer for legacy plugins works well, but it's not perfect. There's not much else we can do."}}
{"actor":{"display_login":"justinmk"}}