Lots of changes in this PR, mostly revolving around improving the accuracy of the benchmarks and preparing us for a 1.0.3 release.
The good news is that optimize-js still provides a measurable benefit in Chrome, Firefox, and Edge. The bad news is that I can confirm Safari is a slight regression (~-1%), and with the new, more accurate benchmarks, we can only boast more modest improvements in various browsers (~20% in Chrome rather than ~57%).
Since my goal with optimize-js is more to provide research than to provide the tool itself, though, I'm happy to just report the data as I find it. Also there's nothing to stop us from continuing to test, continuing to tweak, and continuing to improve. :smiley:
Fixes #37.
Lots of changes in this PR, mostly revolving around improving the accuracy of the benchmarks and preparing us for a 1.0.3 release.
The good news is that optimize-js still provides a measurable benefit in Chrome, Firefox, and Edge. The bad news is that I can confirm Safari is a slight regression (~-1%), and with the new, more accurate benchmarks, we can only boast more modest improvements in various browsers (~20% in Chrome rather than ~57%).
Since my goal with
optimize-js
is more to provide research than to provide the tool itself, though, I'm happy to just report the data as I find it. Also there's nothing to stop us from continuing to test, continuing to tweak, and continuing to improve. :smiley:Major changes in this PR
bin/print-bundle-sizes.sh
script to more easily generate these for the READMEwindow
keys between each test, delete scripts after use to reduce memory overhead