{"action":"created","issue":{"url":"https://api.github.com/repos/kisielk/errcheck/issues/57","labels_url":"https://api.github.com/repos/kisielk/errcheck/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/kisielk/errcheck/issues/57/comments","events_url":"https://api.github.com/repos/kisielk/errcheck/issues/57/events","html_url":"https://github.com/kisielk/errcheck/pull/57","id":54788898,"number":57,"title":"Check packages concurrently","user":{"login":"zimmski","id":1847950,"avatar_url":"https://avatars.githubusercontent.com/u/1847950?v=3","gravatar_id":"","url":"https://api.github.com/users/zimmski","html_url":"https://github.com/zimmski","followers_url":"https://api.github.com/users/zimmski/followers","following_url":"https://api.github.com/users/zimmski/following{/other_user}","gists_url":"https://api.github.com/users/zimmski/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmski/subscriptions","organizations_url":"https://api.github.com/users/zimmski/orgs","repos_url":"https://api.github.com/users/zimmski/repos","events_url":"https://api.github.com/users/zimmski/events{/privacy}","received_events_url":"https://api.github.com/users/zimmski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-19T17:09:08Z","updated_at":"2015-01-20T00:47:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kisielk/errcheck/pulls/57","html_url":"https://github.com/kisielk/errcheck/pull/57","diff_url":"https://github.com/kisielk/errcheck/pull/57.diff","patch_url":"https://github.com/kisielk/errcheck/pull/57.patch"},"body":"I think this can be done rather straight forward. My only concern is runtime.GOMAXPROCS. Is it OK to set runtime.GOMAXPROCS this way?\r\n\r\nI tested this on a project with ~100 Go files and ~13k lines of code. Went from ~1.0s to ~0.6s. Most of the time is spent in /loader even if all files are in the cache. In my example 0.5s of the 0.6.s is spent there."},"comment":{"url":"https://api.github.com/repos/kisielk/errcheck/issues/comments/70586541","html_url":"https://github.com/kisielk/errcheck/pull/57#issuecomment-70586541","issue_url":"https://api.github.com/repos/kisielk/errcheck/issues/57","id":70586541,"user":{"login":"kisielk","id":58618,"avatar_url":"https://avatars.githubusercontent.com/u/58618?v=3","gravatar_id":"","url":"https://api.github.com/users/kisielk","html_url":"https://github.com/kisielk","followers_url":"https://api.github.com/users/kisielk/followers","following_url":"https://api.github.com/users/kisielk/following{/other_user}","gists_url":"https://api.github.com/users/kisielk/gists{/gist_id}","starred_url":"https://api.github.com/users/kisielk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisielk/subscriptions","organizations_url":"https://api.github.com/users/kisielk/orgs","repos_url":"https://api.github.com/users/kisielk/repos","events_url":"https://api.github.com/users/kisielk/events{/privacy}","received_events_url":"https://api.github.com/users/kisielk/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T00:47:11Z","updated_at":"2015-01-20T00:47:11Z","body":"I'm not convinced going through that effort is worth it here. The aim of\r\nthis tool is to help you verify your projects, I don't see much use for\r\nthat kind of adhoc code. I'm willing to be convinced otherwise though.\r\n\r\nOn Monday, January 19, 2015, Dmitri Shuralyov <notifications@github.com>\r\nwrote:\r\n\r\n> I don't really think a file can be \"not in a package\" though, everything\r\n> in go is in a package...\r\n>\r\n> Well, when you do go run file1.go file2.go /another/folder/file3.go, it\r\n> creates a temporary ad-hoc Go package with just the specified .go files in\r\n> it and builds/runs it.\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/kisielk/errcheck/pull/57#issuecomment-70586387>.\r\n>\r\n\r\n\r\n-- \r\n-K"}}