{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/8826","labels_url":"https://api.github.com/repos/npm/npm/issues/8826/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/8826/comments","events_url":"https://api.github.com/repos/npm/npm/issues/8826/events","html_url":"https://github.com/npm/npm/issues/8826","id":93058006,"number":8826,"title":"npm@3 wants to be faster","user":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/big-bug","name":"big-bug","color":"E2001A"},{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/npm/npm/milestones/21","html_url":"https://github.com/npm/npm/milestones/3.x","labels_url":"https://api.github.com/repos/npm/npm/milestones/21/labels","id":1171864,"number":21,"title":"3.x","description":"","creator":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":62,"state":"open","created_at":"2015-06-19T05:57:33Z","updated_at":"2015-12-11T20:03:28Z","due_on":null,"closed_at":null},"comments":75,"created_at":"2015-07-04T23:44:46Z","updated_at":"2015-12-15T13:18:12Z","closed_at":"2015-10-01T18:30:55Z","body":"npm@3 is sometimes slower than npm@2, though this is highly tree dependent. It is doing more, but all the same, folks'd like it to be as fast as it can be. Profiling would be grand. ;) This ticket exists as the tracker for npm@3 performance.\r\n\r\n* [x] Put together a minimal benchmark to work against\r\n  * Should do a from-scratch install of something big\r\n  * Add a module to a large install\r\n  * Remove a module from a large install\r\n  * List a large install\r\n\r\nIdeally I'd like this benchmark to be 2.x and 3.x compatible so we can directly compare different parts."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/164760537","html_url":"https://github.com/npm/npm/issues/8826#issuecomment-164760537","issue_url":"https://api.github.com/repos/npm/npm/issues/8826","id":164760537,"user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T13:18:12Z","updated_at":"2015-12-15T13:18:12Z","body":"my stats for [generator-travis](https://github.com/iamstarkov/generator-travis):\r\n\r\n```\r\n$ node -v && npm -v\r\nv5.2.0\r\n3.5.2\r\nnpm i 1:14 74s 100% # progress=true (default)\r\nnpm i 1:08 68s  91% # progress=false\r\nnpm i 1:26 86s 116% # --legacy-bundling progress=true \r\nnpm i 1:23 83s 112% # --legacy-bundling progress=false\r\n```\r\n\r\napparently, `--legacy-bundling` make things even worser. Disabling `progress` gains only 9%"}}