Skip to content

Recursively trawls a directory for .js files to uglify, running one node instance per available CPU.

License

Notifications You must be signed in to change notification settings

bitwombat/npm-parallel-uglifyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallel-uglifyjs

Hunts for js files in a directory tree, and runs uglify-js on them in parallel (one per CPU).

Easily modifiable to run any job in parallel (see worker.js).

On an 8-core machine a large test takes 2.5 hours utilising a single CPU, and 20 minutes with parallel-uglifyjs.

Installation

$ npm install parallel-uglifyjs

Usage

$ ./parallel_uglifyjs small_test

About

Recursively trawls a directory for .js files to uglify, running one node instance per available CPU.

Resources

License

Stars

Watchers

Forks

Packages

No packages published