{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/8061","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/8061/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/8061/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/8061/events","html_url":"https://github.com/meteor/meteor/issues/8061","id":189732050,"number":8061,"title":"High CPU with with meteor 1.4.2.1 on development","user":{"login":"MiMaMuh","id":4332418,"avatar_url":"https://avatars.githubusercontent.com/u/4332418?v=3","gravatar_id":"","url":"https://api.github.com/users/MiMaMuh","html_url":"https://github.com/MiMaMuh","followers_url":"https://api.github.com/users/MiMaMuh/followers","following_url":"https://api.github.com/users/MiMaMuh/following{/other_user}","gists_url":"https://api.github.com/users/MiMaMuh/gists{/gist_id}","starred_url":"https://api.github.com/users/MiMaMuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiMaMuh/subscriptions","organizations_url":"https://api.github.com/users/MiMaMuh/orgs","repos_url":"https://api.github.com/users/MiMaMuh/repos","events_url":"https://api.github.com/users/MiMaMuh/events{/privacy}","received_events_url":"https://api.github.com/users/MiMaMuh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-16T15:12:29Z","updated_at":"2016-11-26T18:58:29Z","closed_at":null,"body":"Hi, when I ran my meteor project in development I always have a high cpu of around 70-100 % without any client connection or activity. \r\n\r\nI tested some cases by exclude code, commenting out the imports of my whole application logic, but it doesn't have any effect. So I created a blank new project and added all my packages and node dependencies, run meteor => result is, cpu was low as expected.\r\n\r\nThen I copied my import folder from my current project to the blank project without importing any module on client or server, just run meteor => result, cpu is a lot higher (about 20 %)\r\n\r\nThen I added my babel.rc file which results in much higher cpu. (about 70 % constantly).\r\n\r\nI'm not sure why, but it seems just the presence of files increases the cpu usage which gets worse when I use my custom babel config:\r\n\r\n```js\r\n{\r\n    \"presets\": [\"meteor\", \"es2015\", \"es2016\"],\r\n    \"plugins\": [\r\n        \"transform-class-properties\",\r\n        \"transform-export-extensions\",\r\n        \"transform-flow-strip-types\",\r\n        \"transform-do-expressions\",\r\n        [\r\n            \"transform-runtime\",\r\n            {\r\n                \"polyfill\": false,\r\n                \"regenerator\": true\r\n            }\r\n        ]\r\n    ]\r\n}\r\n```\r\n\r\nI tried it with meteor 1.4.2.2, but it is the same. I tried it on the mac of my colleague and there it is the same, too. Is it normal?\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/263079788","html_url":"https://github.com/meteor/meteor/issues/8061#issuecomment-263079788","issue_url":"https://api.github.com/repos/meteor/meteor/issues/8061","id":263079788,"user":{"login":"jamgold","id":599219,"avatar_url":"https://avatars.githubusercontent.com/u/599219?v=3","gravatar_id":"","url":"https://api.github.com/users/jamgold","html_url":"https://github.com/jamgold","followers_url":"https://api.github.com/users/jamgold/followers","following_url":"https://api.github.com/users/jamgold/following{/other_user}","gists_url":"https://api.github.com/users/jamgold/gists{/gist_id}","starred_url":"https://api.github.com/users/jamgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamgold/subscriptions","organizations_url":"https://api.github.com/users/jamgold/orgs","repos_url":"https://api.github.com/users/jamgold/repos","events_url":"https://api.github.com/users/jamgold/events{/privacy}","received_events_url":"https://api.github.com/users/jamgold/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T18:58:29Z","updated_at":"2016-11-26T18:58:29Z","body":"I don't know what happened, but over night the node process CPU load dropped to <10%. "}}
{"actor":{"display_login":"jamgold"}}