You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.
It would be nice to have a feature to minify multiple files in parallel. If I have 200 js files to minify in a build, it takes a good several minutes. It should be possible to fork X number of processes to minify different files at the same time, so that the whole build would be done quicker.
Thanks,
Andrey
The text was updated successfully, but these errors were encountered:
We have some experience with forking a number of processes for minifying JavaScript files. In our case, we did that with Apache ant and Google's Closure compiler. That process was terribly slower compared to minifying the files in serial with Maven and YUI compressor plugin.
The reason is that the overhead of forking a process to minify a single file overweighs the advantage of doing things in parallel. If all processes were forked at the beginning, minified multiple files each and lived until all the work is done, that would be much faster I think.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice to have a feature to minify multiple files in parallel. If I have 200 js files to minify in a build, it takes a good several minutes. It should be possible to fork X number of processes to minify different files at the same time, so that the whole build would be done quicker.
Thanks,
Andrey
The text was updated successfully, but these errors were encountered: