{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/11283","labels_url":"https://api.github.com/repos/npm/npm/issues/11283/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/11283/comments","events_url":"https://api.github.com/repos/npm/npm/issues/11283/events","html_url":"https://github.com/npm/npm/issues/11283","id":128770331,"number":11283,"title":"Progress bar noticeably slows down npm install","user":{"login":"zakjan","id":173585,"avatar_url":"https://avatars.githubusercontent.com/u/173585?v=3","gravatar_id":"","url":"https://api.github.com/users/zakjan","html_url":"https://github.com/zakjan","followers_url":"https://api.github.com/users/zakjan/followers","following_url":"https://api.github.com/users/zakjan/following{/other_user}","gists_url":"https://api.github.com/users/zakjan/gists{/gist_id}","starred_url":"https://api.github.com/users/zakjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakjan/subscriptions","organizations_url":"https://api.github.com/users/zakjan/orgs","repos_url":"https://api.github.com/users/zakjan/repos","events_url":"https://api.github.com/users/zakjan/events{/privacy}","received_events_url":"https://api.github.com/users/zakjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-01-26T09:29:03Z","updated_at":"2016-01-26T16:48:04Z","closed_at":null,"body":"Compare these runtimes of `npm install`:\r\n\r\n```\r\n$ rm -r node_modules\r\n$ npm set progress=false\r\n$ time npm install\r\nnpm install  19.91s user 2.66s system 71% cpu 31.667 total\r\n\r\n$ rm -r node_modules\r\n$ npm set progress=true\r\n$ time npm install\r\nnpm install  33.26s user 3.19s system 74% cpu 48.733 total\r\n```\r\n\r\nNpm 3.5.2. Both commands were run with already warmed-up cache. Progress bar may be responsible for up to 50% slow down.\r\n\r\nOriginal source: https://twitter.com/gavinjoyce/status/691783314261331969 by @GavinJoyce"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/175109832","html_url":"https://github.com/npm/npm/issues/11283#issuecomment-175109832","issue_url":"https://api.github.com/repos/npm/npm/issues/11283","id":175109832,"user":{"login":"uhoh-itsmaciek","id":159100,"avatar_url":"https://avatars.githubusercontent.com/u/159100?v=3","gravatar_id":"","url":"https://api.github.com/users/uhoh-itsmaciek","html_url":"https://github.com/uhoh-itsmaciek","followers_url":"https://api.github.com/users/uhoh-itsmaciek/followers","following_url":"https://api.github.com/users/uhoh-itsmaciek/following{/other_user}","gists_url":"https://api.github.com/users/uhoh-itsmaciek/gists{/gist_id}","starred_url":"https://api.github.com/users/uhoh-itsmaciek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhoh-itsmaciek/subscriptions","organizations_url":"https://api.github.com/users/uhoh-itsmaciek/orgs","repos_url":"https://api.github.com/users/uhoh-itsmaciek/repos","events_url":"https://api.github.com/users/uhoh-itsmaciek/events{/privacy}","received_events_url":"https://api.github.com/users/uhoh-itsmaciek/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T16:48:04Z","updated_at":"2016-01-26T16:48:04Z","body":"For what it's worth, I seem to be affected by this as well:\r\n\r\n### progress=false\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t1m30.147s\r\nuser\t1m2.716s\r\nsys\t0m5.052s\r\n```\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t1m17.472s\r\nuser\t0m58.336s\r\nsys\t0m4.484s\r\n```\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t1m20.335s\r\nuser\t1m1.436s\r\nsys\t0m4.976s\r\n```\r\n\r\n### progress=true\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t2m35.531s\r\nuser\t2m11.340s\r\nsys\t0m5.628s\r\n```\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t2m23.303s\r\nuser\t2m4.780s\r\nsys\t0m5.396s\r\n```\r\n\r\n```console\r\n$ time npm install\r\n...\r\nreal\t2m21.438s\r\nuser\t2m2.048s\r\nsys\t0m4.880s\r\n```\r\n\r\nI'm on Ubuntu 15.04, GNOME Terminal 3.14.2, with the default font."}}