-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Hi there,
I'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)
Every 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 :
var UglifyJS = require("uglify-js");
var result = UglifyJS.minify(array_of_files);
array_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 :
> nvm current
v0.10.33
> time node test.js
node test.js 3,08s user 0,10s system 99% cpu 3,188 total
> nvm use v0.12.0
Now using node v0.12.0
> time node test.js
node test.js 8,19s user 0,10s system 106% cpu 7,760 total
nearly 3x more times
I've tried with some intermediate node version, it's progressively slower with updates...
I'm going to deeper look inside, but is it a "known" issue ?
Metadata
Metadata
Assignees
Labels
No labels