Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading from version 0.1.1 to 0.1.2 uglify is 6 times slower #38

Closed
doberkofler opened this issue Mar 8, 2013 · 2 comments
Closed

Comments

@doberkofler
Copy link

I have just upgraded the grunt-contrib-uglify plugin from 0.1.1 to 0.1.2 and it takes about 6 times longer to uglify the exact same files.
I'm using node 0.8.20 x64 on Windows 7 x64.

@jsoverson
Copy link
Member

This should be fixed with an update, likely fixed with reporting changes via #35.

Let us know if the process is still slow and include as many comparison/timing/environment details as you can.

@doberkofler
Copy link
Author

You @jsoverson already closed the issue before I was able to report the requested number but maybe it still helps.

I now compared grunt-contrib-uglify@0.1.1 with the latest grunt-contrib-uglify@0.2.0 with the following results:
grunt-contrib-uglify 0.1.1 (showing gzipped size) -> 5.24 secs
grunt-contrib-uglify 0.2.0 (report: 'gzip') -> 32.65 secs
grunt-contrib-uglify 0.2.0 (report: 'min')-> 5.25 secs

In my environment (Windows 7 x64) version 0.2.0 without showing the gzipped size is about as fast as 0.1.1 was when showing the gzipped size. When showing the gizipped size 0.2.0 is still about 6 times slower then 0.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants