{"action":"created","issue":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/774","repository_url":"https://api.github.com/repos/hlissner/doom-emacs","labels_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/774/comments","events_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/774/events","html_url":"https://github.com/hlissner/doom-emacs/issues/774","id":346607121,"node_id":"MDU6SXNzdWUzNDY2MDcxMjE=","number":774,"title":"Ivy projectile find file / completion INCREDIBLY slow, CPU to 100%, and machine occasionally locks?","user":{"login":"skalfyfan","id":4172830,"node_id":"MDQ6VXNlcjQxNzI4MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4172830?v=4","gravatar_id":"","url":"https://api.github.com/users/skalfyfan","html_url":"https://github.com/skalfyfan","followers_url":"https://api.github.com/users/skalfyfan/followers","following_url":"https://api.github.com/users/skalfyfan/following{/other_user}","gists_url":"https://api.github.com/users/skalfyfan/gists{/gist_id}","starred_url":"https://api.github.com/users/skalfyfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skalfyfan/subscriptions","organizations_url":"https://api.github.com/users/skalfyfan/orgs","repos_url":"https://api.github.com/users/skalfyfan/repos","events_url":"https://api.github.com/users/skalfyfan/events{/privacy}","received_events_url":"https://api.github.com/users/skalfyfan/received_events","type":"User","site_admin":false},"labels":[{"id":637660288,"node_id":"MDU6TGFiZWw2Mzc2NjAyODg=","url":"https://api.github.com/repos/hlissner/doom-emacs/labels/investigating","name":"investigating","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-08-01T13:46:06Z","updated_at":"2018-08-01T22:08:48Z","closed_at":null,"author_association":"NONE","body":"### Observed behavior\r\n\r\nIn large project folders (400+ files?) Projectile find file w/ Ivy is INCREDIBLY slow, with CPU processing jumping to almost 100% and occasionally even locking my machine. Is this Ivy completion issue w/ projectile?\r\n\r\nBelow is a screenshot showing the behaviour. In the below screenshot I have already completely typed out `src/services/submit-order-service/index.js`. We can see that Ivy Projectile find file is **stuck** at `src/services` and that my CPU processing has jumped to **99.8%** percent and clocking. My system in the below screenshot almost fully locked!\r\n\r\n![screen shot 2018-07-31 at 4 40 06 pm](https://user-images.githubusercontent.com/4172830/43524503-7cb2557a-956d-11e8-9b79-364e31f5bded.png)\r\n\r\nIvy has become completely unusable for me. I've switched to using HELM and have no issues with helm-projectile and finding files / completion. Everything is smooth and fast with HELM. However, I'd still prefer to use Ivy 😢 \r\n\r\nIs it maybe related to this merge commit? https://github.com/hlissner/doom-emacs/pull/740\r\n\r\n### Expected behavior\r\n\r\nIvy projectile find file / completion (SPC p p + typing file we're searching for) to be smooth and fast. Ivy completion to be just as fast as finding regular files (SPC f .) and HELM projectile find file.\r\n\r\n### Steps to reproduce\r\n\r\n1. Use Ivy instead of HELM, ido\r\n2. Get a large project indexed with Projectile\r\n3. Select the projectile project using SPC - p - p + select project\r\n4. Begin Ivy completion to find a file deep in project folders searching for a file in a folder w/ numerous files (300-400+ files)\r\n5. Observe CPU processing skyrocketing to 100% and machine locking 😢 \r\n\r\n### System information\r\n\r\nAm using the `develop` branch of DOOM and working. Currently have HELM installed and have disabled Ivy. \r\n\r\nPlease let me know if you'd like me to re-enable Ivy and do a complete debug dump!\r\n\r\n<details>\r\n<summary>Click to expand</summary>\r\n\r\n```\r\nReplace this line with the output of *one* of these commands:\r\n\r\n+ `M-x doom/info` (from inside Emacs)\r\n+ `DEBUG=1 make doctor` (command line)\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/comments/409741124","html_url":"https://github.com/hlissner/doom-emacs/issues/774#issuecomment-409741124","issue_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/774","id":409741124,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTc0MTEyNA==","user":{"login":"skalfyfan","id":4172830,"node_id":"MDQ6VXNlcjQxNzI4MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4172830?v=4","gravatar_id":"","url":"https://api.github.com/users/skalfyfan","html_url":"https://github.com/skalfyfan","followers_url":"https://api.github.com/users/skalfyfan/followers","following_url":"https://api.github.com/users/skalfyfan/following{/other_user}","gists_url":"https://api.github.com/users/skalfyfan/gists{/gist_id}","starred_url":"https://api.github.com/users/skalfyfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skalfyfan/subscriptions","organizations_url":"https://api.github.com/users/skalfyfan/orgs","repos_url":"https://api.github.com/users/skalfyfan/repos","events_url":"https://api.github.com/users/skalfyfan/events{/privacy}","received_events_url":"https://api.github.com/users/skalfyfan/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T22:08:48Z","updated_at":"2018-08-01T22:08:48Z","author_association":"NONE","body":"@hlissner You got it! 💯 \r\n\r\nI just tested Ivy without `+fuzzy` and it works great and is super fast!! If I re-enable \r\n```\r\n(ivy\r\n  +fuzzy)\r\n```\r\nThen it craps out again as I described. I ran `make` on each config modification. Seems the issue is definitely with the Ivy implementaiton of `flx` since Helm is fine! 🤔 "}}
{"actor":{"display_login":"skalfyfan"}}