{"action":"created","issue":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/636","labels_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/636/comments","events_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/636/events","html_url":"https://github.com/mishoo/UglifyJS2/issues/636","id":57026000,"number":636,"title":"Drastic performance decrease with newer Node builds","user":{"login":"STuFF","id":27239,"avatar_url":"https://avatars.githubusercontent.com/u/27239?v=3","gravatar_id":"","url":"https://api.github.com/users/STuFF","html_url":"https://github.com/STuFF","followers_url":"https://api.github.com/users/STuFF/followers","following_url":"https://api.github.com/users/STuFF/following{/other_user}","gists_url":"https://api.github.com/users/STuFF/gists{/gist_id}","starred_url":"https://api.github.com/users/STuFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STuFF/subscriptions","organizations_url":"https://api.github.com/users/STuFF/orgs","repos_url":"https://api.github.com/users/STuFF/repos","events_url":"https://api.github.com/users/STuFF/events{/privacy}","received_events_url":"https://api.github.com/users/STuFF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-09T12:45:43Z","updated_at":"2015-04-02T21:32:29Z","closed_at":null,"body":"Hi there,\r\nI've just update my old node from 0.10.33 to the shiny new 0.12.0 stable version. And my process build was 2 times slower :( (14s before update versus 29s exactly)\r\n\r\nEvery single steps seems a little bit slower (I'm using grunt, and a bunch of plugins) but the uglify task is VERY VERY slower. I've benchmarked a single test file using directly uglifyjs to double check it was the bottle neck. My script test looks like :\r\n``` javascript\r\nvar UglifyJS = require(\"uglify-js\");\r\nvar result = UglifyJS.minify(array_of_files);\r\n```\r\narray_of_files is an array of 66 files, from the biggest (jquery-ui) to the smallest (custom code with 10-15 lines), and the benchmark :\r\n```\r\n> nvm current\r\nv0.10.33\r\n\r\n> time node test.js\r\nnode test.js  3,08s user 0,10s system 99% cpu 3,188 total\r\n\r\n> nvm use v0.12.0\r\nNow using node v0.12.0\r\n\r\n> time node test.js\r\nnode test.js  8,19s user 0,10s system 106% cpu 7,760 total\r\n```\r\nnearly 3x more times\r\n\r\nI've tried with some intermediate node version, it's progressively slower with updates...\r\n\r\nI'm going to deeper look inside, but is it a \"known\" issue ?"},"comment":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/comments/89050332","html_url":"https://github.com/mishoo/UglifyJS2/issues/636#issuecomment-89050332","issue_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/636","id":89050332,"user":{"login":"misteroh","id":1319951,"avatar_url":"https://avatars.githubusercontent.com/u/1319951?v=3","gravatar_id":"","url":"https://api.github.com/users/misteroh","html_url":"https://github.com/misteroh","followers_url":"https://api.github.com/users/misteroh/followers","following_url":"https://api.github.com/users/misteroh/following{/other_user}","gists_url":"https://api.github.com/users/misteroh/gists{/gist_id}","starred_url":"https://api.github.com/users/misteroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misteroh/subscriptions","organizations_url":"https://api.github.com/users/misteroh/orgs","repos_url":"https://api.github.com/users/misteroh/repos","events_url":"https://api.github.com/users/misteroh/events{/privacy}","received_events_url":"https://api.github.com/users/misteroh/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T21:32:29Z","updated_at":"2015-04-02T21:32:29Z","body":"Oh glad I found this. Can confirm that an 11s task now takes 20s :("}}