{"action":"created","issue":{"url":"https://api.github.com/repos/ogham/exa/issues/28","labels_url":"https://api.github.com/repos/ogham/exa/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ogham/exa/issues/28/comments","events_url":"https://api.github.com/repos/ogham/exa/issues/28/events","html_url":"https://github.com/ogham/exa/issues/28","id":58587822,"number":28,"title":"libgit2 git_status_list_new is really slow.","user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars.githubusercontent.com/u/310393?v=3","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ogham/exa/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ogham","id":503760,"avatar_url":"https://avatars.githubusercontent.com/u/503760?v=3","gravatar_id":"","url":"https://api.github.com/users/ogham","html_url":"https://github.com/ogham","followers_url":"https://api.github.com/users/ogham/followers","following_url":"https://api.github.com/users/ogham/following{/other_user}","gists_url":"https://api.github.com/users/ogham/gists{/gist_id}","starred_url":"https://api.github.com/users/ogham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogham/subscriptions","organizations_url":"https://api.github.com/users/ogham/orgs","repos_url":"https://api.github.com/users/ogham/repos","events_url":"https://api.github.com/users/ogham/events{/privacy}","received_events_url":"https://api.github.com/users/ogham/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-23T13:52:47Z","updated_at":"2015-08-03T17:24:14Z","closed_at":null,"body":"For me, exa takes ~3 seconds to run on the rust repository and most of this time is spent in libgit2's git_status_list_new function (specifically, it appears that most of this time is spent calculating SHA1 hashes). However, `git status --porcelain` runs in about .1 seconds. The correct fix would be to fix libgit2 however, in the meantime, you might consider using `git` directly.\r\n\r\nNote `git2::Repository::statuses(opts)` is a wrapper for libgit2's `git_status_list_new` function."},"comment":{"url":"https://api.github.com/repos/ogham/exa/issues/comments/127336839","html_url":"https://github.com/ogham/exa/issues/28#issuecomment-127336839","issue_url":"https://api.github.com/repos/ogham/exa/issues/28","id":127336839,"user":{"login":"ogham","id":503760,"avatar_url":"https://avatars.githubusercontent.com/u/503760?v=3","gravatar_id":"","url":"https://api.github.com/users/ogham","html_url":"https://github.com/ogham","followers_url":"https://api.github.com/users/ogham/followers","following_url":"https://api.github.com/users/ogham/following{/other_user}","gists_url":"https://api.github.com/users/ogham/gists{/gist_id}","starred_url":"https://api.github.com/users/ogham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogham/subscriptions","organizations_url":"https://api.github.com/users/ogham/orgs","repos_url":"https://api.github.com/users/ogham/repos","events_url":"https://api.github.com/users/ogham/events{/privacy}","received_events_url":"https://api.github.com/users/ogham/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T17:24:14Z","updated_at":"2015-08-03T17:24:14Z","body":"It shouldn't do that! Let me test this."}}