{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/1945","labels_url":"https://api.github.com/repos/magit/magit/issues/1945/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/1945/comments","events_url":"https://api.github.com/repos/magit/magit/issues/1945/events","html_url":"https://github.com/magit/magit/issues/1945","id":92622688,"number":1945,"title":"magit-log-current takes forever with 2.1.0, fine with 1.4.2","user":{"login":"steabert","id":1499470,"avatar_url":"https://avatars.githubusercontent.com/u/1499470?v=3","gravatar_id":"","url":"https://api.github.com/users/steabert","html_url":"https://github.com/steabert","followers_url":"https://api.github.com/users/steabert/followers","following_url":"https://api.github.com/users/steabert/following{/other_user}","gists_url":"https://api.github.com/users/steabert/gists{/gist_id}","starred_url":"https://api.github.com/users/steabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steabert/subscriptions","organizations_url":"https://api.github.com/users/steabert/orgs","repos_url":"https://api.github.com/users/steabert/repos","events_url":"https://api.github.com/users/steabert/events{/privacy}","received_events_url":"https://api.github.com/users/steabert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/magit/magit/milestones/5","html_url":"https://github.com/magit/magit/milestones/2.1.0","labels_url":"https://api.github.com/repos/magit/magit/milestones/5/labels","id":336392,"number":5,"title":"2.1.0","description":"","creator":{"login":"tarsius","id":25046,"avatar_url":"https://avatars.githubusercontent.com/u/25046?v=3","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1269,"state":"open","created_at":"2013-05-18T00:36:03Z","updated_at":"2015-07-02T20:11:42Z","due_on":"2015-06-30T22:00:00Z","closed_at":null},"comments":11,"created_at":"2015-07-02T12:19:32Z","updated_at":"2015-07-02T20:17:39Z","closed_at":null,"body":"I recently swithed from magit 1.4.2 to magit 2.1.0.\r\n\r\nWhen i show a log with \"l l\" (i.g. magit-log-current), outputting the graph takes forever, I have to kill it with Ctrl-G.\r\nI read about the problems with showing logs with the \"--graph\" option, but since in version 1.4.2 everything worked fine, could this actually be some kind of regression?\r\n\r\nProfiling indicates that code spends all of the time in \"magit-log-wash-line\", when calling \"looking-at\". If I disable that part, the log shows immediately with a graph, but obviously not fully washed (colors are there but sha1 hash and co are located after the graph)"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/118154173","html_url":"https://github.com/magit/magit/issues/1945#issuecomment-118154173","issue_url":"https://api.github.com/repos/magit/magit/issues/1945","id":118154173,"user":{"login":"tarsius","id":25046,"avatar_url":"https://avatars.githubusercontent.com/u/25046?v=3","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T20:17:38Z","updated_at":"2015-07-02T20:17:38Z","body":"That's likely yes. The regex is in `magit-log-oneline-re`.\r\n\r\nI intend to improve this and other regexp by using non-printing characters as separators. Currently printing characters are used and then the regexp got complicated over time to avoid matching to much, i guess. Or maybe it's just the graph part of the regexp which performs horribly."}}