babel/minify

Add benchmarks that show transpilation + minification times

Open

#95 aperta il 26 ago 2016

Vedi su GitHub
 (2 commenti) (8 reazioni) (0 assegnatari)JavaScript (223 fork)batch import
help wanted

Metriche repository

Star
 (4377 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

What people actually care about w.r.t. build times is usually the end-to-end time. Talking with @skevy, we were saying a typical production build pipeline will transpile and minify, which previously entailed running Babel (ex: with es2015 preset) and then Uglify. But now a pipeline could run just Babel (ex: with es2015 + babili).

The perf benchmarks currently make Uglify look way better than Babili to people who prefer 1.5-2x faster build times for roughly the same end result, but if the actual end-to-end build times that comprise transpilation and minification are faster, that'd change a lot of minds.

Guida contributor