{"action":"created","issue":{"url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/85","labels_url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/85/comments","events_url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/85/events","html_url":"https://github.com/aexmachina/ember-cli-sass/issues/85","id":112979257,"number":85,"title":"Performance slowdown in SassCompiler when switching from npm 2 to npm 3 on Windows","user":{"login":"adam-knights","id":12710362,"avatar_url":"https://avatars.githubusercontent.com/u/12710362?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-knights","html_url":"https://github.com/adam-knights","followers_url":"https://api.github.com/users/adam-knights/followers","following_url":"https://api.github.com/users/adam-knights/following{/other_user}","gists_url":"https://api.github.com/users/adam-knights/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-knights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-knights/subscriptions","organizations_url":"https://api.github.com/users/adam-knights/orgs","repos_url":"https://api.github.com/users/adam-knights/repos","events_url":"https://api.github.com/users/adam-knights/events{/privacy}","received_events_url":"https://api.github.com/users/adam-knights/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-23T08:48:34Z","updated_at":"2015-10-27T08:20:22Z","closed_at":null,"body":"I gave node v4 and npm v3.3.9 a go for the first time today (had previously been using v0.12.7 and 2.11.x), my rebuild times (on windows 7) have near tripled to 48s from 20s. Rebuild output is below.\r\n\r\n```\r\nBuild successful - 48766ms.\r\n\r\nSlowest Trees                                 | Total\r\n----------------------------------------------+---------------------\r\nSassCompiler                                  | 17852ms\r\nBroccoliMergeTrees                            | 4836ms\r\nTreeMerger (vendor)                           | 4362ms\r\nFunnel: App JS Files                          | 3636ms\r\nES6: App Tree                                 | 2544ms\r\n\r\nSlowest Trees (cumulative)                    | Total (avg)\r\n----------------------------------------------+---------------------\r\nSassCompiler (1)                              | 17852ms\r\nBroccoliMergeTrees (4)                        | 5059ms (1264 ms)\r\nTreeMerger (vendor) (1)                       | 4362ms\r\nFunnel: App JS Files (1)                      | 3636ms\r\nES6: App Tree (1)                             | 2544ms\r\n```\r\n\r\nPreviously I was seeing a rebuild more like this with npm2:\r\n\r\n```\r\nBuild successful - 20183ms.\r\n\r\nSlowest Trees                                 | Total\r\n----------------------------------------------+-------------------\r\nFunnel: App JS Files                          | 2506ms\r\nES6: App Tree                                 | 2110ms\r\nTreeMerger (vendor)                           | 1949ms\r\nBroccoliMergeTrees                            | 1612ms\r\nConcatWithMaps                                | 1610ms\r\nSassCompiler                                  | 1326ms\r\n\r\nSlowest Trees (cumulative)                    | Total (avg)\r\n----------------------------------------------+-------------------\r\nFunnel: App JS Files (1)                      | 2506ms\r\nES6: App Tree (1)                             | 2110ms\r\nConcatWithMaps (4)                            | 2087ms (521 ms)\r\nTreeMerger (vendor) (1)                       | 1949ms\r\nBroccoliMergeTrees (4)                        | 1782ms (445 ms)\r\nTreeMerger (lint) (2)                         | 1341ms (670 ms)\r\nSassCompiler (1)                              | 1326ms\r\nBabel (8)                                     | 1087ms (135 ms)\r\n```\r\n\r\nSo the biggest offender appears to be the sass compiler.\r\n\r\nI posted an example app for a different issue but this shows our sass layout and dependencies etc: https://github.com/adam-knights/order-example-oct-2015\r\n\r\nember-cli-sass 5.0.0, ember cli 1.13.8\r\n\r\nI'm assuming this is a ember-cli-sass issue, but can post against ember-cli if thats the offender here."},"comment":{"url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/comments/151411238","html_url":"https://github.com/aexmachina/ember-cli-sass/issues/85#issuecomment-151411238","issue_url":"https://api.github.com/repos/aexmachina/ember-cli-sass/issues/85","id":151411238,"user":{"login":"adam-knights","id":12710362,"avatar_url":"https://avatars.githubusercontent.com/u/12710362?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-knights","html_url":"https://github.com/adam-knights","followers_url":"https://api.github.com/users/adam-knights/followers","following_url":"https://api.github.com/users/adam-knights/following{/other_user}","gists_url":"https://api.github.com/users/adam-knights/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-knights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-knights/subscriptions","organizations_url":"https://api.github.com/users/adam-knights/orgs","repos_url":"https://api.github.com/users/adam-knights/repos","events_url":"https://api.github.com/users/adam-knights/events{/privacy}","received_events_url":"https://api.github.com/users/adam-knights/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T08:20:22Z","updated_at":"2015-10-27T08:20:22Z","body":"Yes, in trying each combo I always ran rmdir /s /q node_modules bower_components dist tmp and then did new npm install/bower install's."}}