{"action":"created","issue":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/145","labels_url":"https://api.github.com/repos/atom/find-and-replace/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/atom/find-and-replace/issues/145/comments","events_url":"https://api.github.com/repos/atom/find-and-replace/issues/145/events","html_url":"https://github.com/atom/find-and-replace/issues/145","id":28755088,"number":145,"title":"find/replace performance","user":{"login":"jdc0589","id":327666,"avatar_url":"https://avatars.githubusercontent.com/u/327666?v=3","gravatar_id":"","url":"https://api.github.com/users/jdc0589","html_url":"https://github.com/jdc0589","followers_url":"https://api.github.com/users/jdc0589/followers","following_url":"https://api.github.com/users/jdc0589/following{/other_user}","gists_url":"https://api.github.com/users/jdc0589/gists{/gist_id}","starred_url":"https://api.github.com/users/jdc0589/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdc0589/subscriptions","organizations_url":"https://api.github.com/users/jdc0589/orgs","repos_url":"https://api.github.com/users/jdc0589/repos","events_url":"https://api.github.com/users/jdc0589/events{/privacy}","received_events_url":"https://api.github.com/users/jdc0589/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/find-and-replace/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/atom/find-and-replace/labels/performance","name":"performance","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-03-05T00:30:42Z","updated_at":"2015-01-16T12:09:14Z","closed_at":null,"body":"there are some pretty serious issues with find/replace performance. I realize that some of this is an issue with speeding up marker displays in Atom core (and is supposedly already logged in the closed issue tracked), but i wanted to make sure there was a public issue as well. \r\n\r\ne. g. stripping newlines in a ~300 line file via `Find: \"\\r|\\n\"` and `Replace:\"\"` can easily take over 10 seconds. "},"comment":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/comments/70245281","html_url":"https://github.com/atom/find-and-replace/issues/145#issuecomment-70245281","issue_url":"https://api.github.com/repos/atom/find-and-replace/issues/145","id":70245281,"user":{"login":"Fank","id":1900106,"avatar_url":"https://avatars.githubusercontent.com/u/1900106?v=3","gravatar_id":"","url":"https://api.github.com/users/Fank","html_url":"https://github.com/Fank","followers_url":"https://api.github.com/users/Fank/followers","following_url":"https://api.github.com/users/Fank/following{/other_user}","gists_url":"https://api.github.com/users/Fank/gists{/gist_id}","starred_url":"https://api.github.com/users/Fank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fank/subscriptions","organizations_url":"https://api.github.com/users/Fank/orgs","repos_url":"https://api.github.com/users/Fank/repos","events_url":"https://api.github.com/users/Fank/events{/privacy}","received_events_url":"https://api.github.com/users/Fank/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T12:09:14Z","updated_at":"2015-01-16T12:09:14Z","body":"I also noticed if you searched something with RegEx (e.g. /,(\\n+\\t*)/, which were very slow, single core 100% usage) and stopped searching -> leave search \"pattern\" in search filed but closes the search view by pressing \"Escape\" the, is still slow, because it feels like its still searching the pattern after every content change. So when i open the search view again and disable the RegEx option and empty the search pattern and close it via \"Escape\" too, same as before. It runes fine/smooth.\r\n\r\nTested in atom 0.174 on Ubuntu 14.04 (Linux ***** 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)\r\nwith a perl module (*.pm) about 760 lines\r\n\r\nI could test this on windows too if desired"}}