hustxiaoc / gulp-minify

minify js plugin for gulp
BSD 2-Clause "Simplified" License
65 stars 20 forks source link

How to improve performance? #55

Closed Giszmo closed 3 years ago

Giszmo commented 3 years ago

I miss some performance options. For my project, minify takes 4 minutes on my 24 core machine and it's using one core I think.

Can't that be tweaked to run in multiple processes? If not, can't the tool report on what took so long? Can't it cache some data, so that same input doesn't need lengthy processing again?

Giszmo commented 3 years ago

I see the slow task is actually a different minifier, both of which are active in my project. Sorry for noise.