Re:Show HN: Compare different JS minifiers’ output online
by slig on Sunday November 09, 2014 @03:43PM
(#8580834)
Nice one, thanks for sharing!
I've been researching for a minifier recently and on my tests Closure Compiler always win on the file size metric. However, due to the Closure Compiler Java dependency, I'll likely choose UglifyJS (which is always the second best on my tests).
Have you noticed cases where Closure Compiler or UglifyJS aren't the best?
Re:Show HN: Compare different JS minifiers’ output online
by gillyb on Sunday November 09, 2014 @03:48PM
(#8580851)
From my personal testing UglifyJS and Closure Compiler are usually the best as well. They're also pretty close most of the time, but still I go with which ever one saves more.
I've been researching for a minifier recently and on my tests Closure Compiler always win on the file size metric. However, due to the Closure Compiler Java dependency, I'll likely choose UglifyJS (which is always the second best on my tests).
Have you noticed cases where Closure Compiler or UglifyJS aren't the best?