{"action":"created","issue":{"url":"https://api.github.com/repos/rails/sprockets/issues/410","repository_url":"https://api.github.com/repos/rails/sprockets","labels_url":"https://api.github.com/repos/rails/sprockets/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/rails/sprockets/issues/410/comments","events_url":"https://api.github.com/repos/rails/sprockets/issues/410/events","html_url":"https://github.com/rails/sprockets/issues/410","id":185234758,"number":410,"title":"Only compile source maps in the debug pipeline","user":{"login":"TylerHorth","id":9101614,"avatar_url":"https://avatars.githubusercontent.com/u/9101614?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerHorth","html_url":"https://github.com/TylerHorth","followers_url":"https://api.github.com/users/TylerHorth/followers","following_url":"https://api.github.com/users/TylerHorth/following{/other_user}","gists_url":"https://api.github.com/users/TylerHorth/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerHorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerHorth/subscriptions","organizations_url":"https://api.github.com/users/TylerHorth/orgs","repos_url":"https://api.github.com/users/TylerHorth/repos","events_url":"https://api.github.com/users/TylerHorth/events{/privacy}","received_events_url":"https://api.github.com/users/TylerHorth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-10-25T21:09:38Z","updated_at":"2017-01-04T21:55:00Z","closed_at":null,"body":"Currently in sprockets 4 source maps are compiled in the default pipeline alongside everything else, then source map comments are appended in the debug pipeline. \n\nThis causes a massive performance degradation when compiling assets, even when source maps aren't being used. Shopify saw compilation time go from 1m10s to 7m20s when upgrading to sprockets 4. ~~Stripping~~Hacking out source map logic from sprockets 4 returned compilation time to 60s. \n\ncc @bouk @rafaelfranca \n"},"comment":{"url":"https://api.github.com/repos/rails/sprockets/issues/comments/270498175","html_url":"https://github.com/rails/sprockets/issues/410#issuecomment-270498175","issue_url":"https://api.github.com/repos/rails/sprockets/issues/410","id":270498175,"user":{"login":"gilesbowkett","id":974,"avatar_url":"https://avatars.githubusercontent.com/u/974?v=3","gravatar_id":"","url":"https://api.github.com/users/gilesbowkett","html_url":"https://github.com/gilesbowkett","followers_url":"https://api.github.com/users/gilesbowkett/followers","following_url":"https://api.github.com/users/gilesbowkett/following{/other_user}","gists_url":"https://api.github.com/users/gilesbowkett/gists{/gist_id}","starred_url":"https://api.github.com/users/gilesbowkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilesbowkett/subscriptions","organizations_url":"https://api.github.com/users/gilesbowkett/orgs","repos_url":"https://api.github.com/users/gilesbowkett/repos","events_url":"https://api.github.com/users/gilesbowkett/events{/privacy}","received_events_url":"https://api.github.com/users/gilesbowkett/received_events","type":"User","site_admin":false},"created_at":"2017-01-04T21:55:00Z","updated_at":"2017-01-04T21:55:00Z","body":"@vincentwoo I don't know re 💰 but based on @schneems saying\r\n\r\n> Now I just need to figure out how to decouple this ball of mud.\r\n\r\nmy guess is that automated tests and written documentation would both help. 😃 "}}
{"actor":{"display_login":"gilesbowkett"}}