{"action":"created","issue":{"url":"https://api.github.com/repos/seongjaelee/nvatom/issues/35","labels_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/35/comments","events_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/35/events","html_url":"https://github.com/seongjaelee/nvatom/issues/35","id":108457101,"number":35,"title":"File filter super slow with 3500 notes","user":{"login":"DivineDominion","id":59080,"avatar_url":"https://avatars.githubusercontent.com/u/59080?v=3","gravatar_id":"","url":"https://api.github.com/users/DivineDominion","html_url":"https://github.com/DivineDominion","followers_url":"https://api.github.com/users/DivineDominion/followers","following_url":"https://api.github.com/users/DivineDominion/following{/other_user}","gists_url":"https://api.github.com/users/DivineDominion/gists{/gist_id}","starred_url":"https://api.github.com/users/DivineDominion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DivineDominion/subscriptions","organizations_url":"https://api.github.com/users/DivineDominion/orgs","repos_url":"https://api.github.com/users/DivineDominion/repos","events_url":"https://api.github.com/users/DivineDominion/events{/privacy}","received_events_url":"https://api.github.com/users/DivineDominion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-26T11:25:14Z","updated_at":"2015-09-26T18:25:23Z","closed_at":null,"body":"I like this project's concept very much! Somebody brought it up [on our blog](http://zettelkasten.de/posts/luedeckes-zettelkasten-erik-pfeiffer/) and I immediately checked this out because I still search for a Notational Velocity-like app on other platforms than Mac.\r\n\r\nThat being said, indexing my 3500 notes took 28+ seconds. Opening the file locator takes a bit (the lag is noticeable), but that's okay. Filtering the results is impossibly slow though.\r\n\r\nIt seems nvatom doesn't include the document body in search results of DocQuery. I guess that there's the real bottleneck.\r\n\r\nI'll have a look at the source myself and see whether the performance can be increased."},"comment":{"url":"https://api.github.com/repos/seongjaelee/nvatom/issues/comments/143478139","html_url":"https://github.com/seongjaelee/nvatom/issues/35#issuecomment-143478139","issue_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/35","id":143478139,"user":{"login":"jonmagic","id":623,"avatar_url":"https://avatars.githubusercontent.com/u/623?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmagic","html_url":"https://github.com/jonmagic","followers_url":"https://api.github.com/users/jonmagic/followers","following_url":"https://api.github.com/users/jonmagic/following{/other_user}","gists_url":"https://api.github.com/users/jonmagic/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmagic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmagic/subscriptions","organizations_url":"https://api.github.com/users/jonmagic/orgs","repos_url":"https://api.github.com/users/jonmagic/repos","events_url":"https://api.github.com/users/jonmagic/events{/privacy}","received_events_url":"https://api.github.com/users/jonmagic/received_events","type":"User","site_admin":true},"created_at":"2015-09-26T18:25:23Z","updated_at":"2015-09-26T18:25:23Z","body":"> We can consider migrating to search-index from lunr. Need a performance comparison first.\r\n\r\nI'd love to tackle this. Here are the steps I'm thinking:\r\n\r\n- [ ] find a corpus of text large enough to build some meaningful benchmarks against\r\n- [ ] for both lunr and search-index benchmark:\r\n  - [ ] time to load documents\r\n  - [ ] time to search documents\r\n  - [ ] memory usage\r\n\r\nI've got a few minutes of hack time this weekend so I'm going to dive into this."}}