{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/builder/issues/685","repository_url":"https://api.github.com/repos/systemjs/builder","labels_url":"https://api.github.com/repos/systemjs/builder/issues/685/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/builder/issues/685/comments","events_url":"https://api.github.com/repos/systemjs/builder/issues/685/events","html_url":"https://github.com/systemjs/builder/issues/685","id":175311167,"number":685,"title":"Build static times much higher when upgrading from version 0.15.23 to 0.15.24","user":{"login":"sebasrodriguez","id":1605931,"avatar_url":"https://avatars.githubusercontent.com/u/1605931?v=3","gravatar_id":"","url":"https://api.github.com/users/sebasrodriguez","html_url":"https://github.com/sebasrodriguez","followers_url":"https://api.github.com/users/sebasrodriguez/followers","following_url":"https://api.github.com/users/sebasrodriguez/following{/other_user}","gists_url":"https://api.github.com/users/sebasrodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/sebasrodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebasrodriguez/subscriptions","organizations_url":"https://api.github.com/users/sebasrodriguez/orgs","repos_url":"https://api.github.com/users/sebasrodriguez/repos","events_url":"https://api.github.com/users/sebasrodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/sebasrodriguez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-06T18:00:16Z","updated_at":"2016-09-06T19:02:00Z","closed_at":null,"body":"The build static command went from 5 seconds on 0.15.23 to almost three minutes on 0.15.24.\r\n\r\nAlso the bundle went from 5.1 mb file to 6.4 mb.\r\n\r\nThis is my bundle configuration (disabled minify/mangle for easier comparation)\r\n\r\n```\r\nvar builder = new Builder(\"client\", \"client/config.js\");\r\n    builder\r\n        .buildStatic(\"core/app.module.js\", \"out.js\", {\r\n            minify: false,\r\n            mangle: false,\r\n            sourceMaps: false,\r\n            runtime: true\r\n        })\r\n        .then(function () {\r\n            callback();\r\n        })\r\n        .catch(function (err) {\r\n            callback(err);\r\n        });\r\n```\r\n\r\nThe first thing I've noticed comparing both outputs is that the 0.15.24 version does not removes comments, which is actually ok since minify and mangle are both false but what I cannot see is why the bundle time takes from 5 seconds to 3 minutes on the new version.\r\n\r\nIs it some other configuration option I need to pass to make the bundle faster?"},"comment":{"url":"https://api.github.com/repos/systemjs/builder/issues/comments/245054857","html_url":"https://github.com/systemjs/builder/issues/685#issuecomment-245054857","issue_url":"https://api.github.com/repos/systemjs/builder/issues/685","id":245054857,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T19:02:00Z","updated_at":"2016-09-06T19:02:00Z","body":"If anyone is interested in looking into this performance problem please do let me know.\r\n\r\nIf we don't address this it may be worth considering reverting the recent work, as bad source maps are a worthy price to pay for such a performance difference.\r\n\r\nBut a 5mb bundle is certainly pushing things though too..."}}
{"actor":{"display_login":"guybedford"}}