Re:JavaScript Minification Benchmarks
by Griffinsauce on Saturday February 06, 2021 @04:41PM
(#26050232)
> throw more hardware at it
And pay more. ESBuild is so much faster that I imagine it could have a significant impact on costs.
Besides, yes you make a good point about the size savings scaling with users, but development speed compounds changes over time.
The choice is a bit more nuanced than "smaller build always === 100% focused on the best experience"
If you can do 10x the builds in a day, you can end up catching more issues before your users. Meanwhile the difference for them is in single digit percents. Interesting test to do next would be how performant are the compiled versions.
Re:JavaScript Minification Benchmarks
by wgjordan on Saturday February 06, 2021 @07:58PM
(#26051664)
> Or, put in another way: If you're are 10% worried about that you get to do production deploys 10% faster
Correction: 10x faster, not 10%. The 60-minute deploy is shortened to 6 minutes, not 54 minutes. This is a significant difference in impact on a deployment workflow.
> we stick with the tools that does the best minification while being a bit slower
Correction: not 'a bit slower', _10 times_ slower, which is significant.
For the rest of us that are 100% focused on the best experience for our users, we stick with the tools that does the best minification while being a bit slower, and throw more hardware at it if needed for the deploys.