-
Notifications
You must be signed in to change notification settings - Fork 14
Benchmarks
This is an additional list of benchmarks to show other common modules/frameworks. All benchmark results are from modclean-benchmark. Feel free to create your own benchmarks and update the Wiki with your results.
Example of standard modules used to create basic web applications.
modclean-benchmark -m express,lodash,moment,async
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 1,745 | 76 | 4.90 MB |
After ModClean | 612 | 78 | 4.45 MB |
Reduced | 144 | 2 | 459.59 KB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
Example of a standard grunt installation.
modclean-benchmark -m grunt,grunt-contrib-clean,grunt-contrib-concat,grunt-contrib-copy,grunt-contrib-uglify
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 3,305 | 320 | 8.59 MB |
After ModClean | 2,782 | 231 | 7.14 MB |
Reduced | 523 | 89 | 1.44 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
Example of the most depended-upon modules from npmjs.com (4/28/2015).
modclean-benchmark -m lodash,commander,colors,async,express,q,underscore,debug,coffee-script,request,chalk,mkdirp
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 2,148 | 222 | 6.20 MB |
After ModClean | 1,620 | 191 | 4.59 MB |
Reduced | 528 | 31 | 1.61 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
Example of the most depended-upon modules from npmjs.com (1/11/2017).
modclean-benchmark -m lodash,express,debug,request,chalk,moment,async,bluebird,react,underscore,commander,mkdirp
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 3,770 | 309 | 11.29 MB |
After ModClean | 3,175 | 275 | 9.20 MB |
Reduced | 595 | 34 | 2.08 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
Example of the top modules from npmjs.com (1/11/2017).
modclean-benchmark -m browserify,express,pm2,grunt-cli,npm,karma,bower,cordova,coffee-script,gulp,forever,statsd,grunt,less,yo
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 33,942 | 5,643 | 124.00 MB |
After ModClean | 21,074 | 3,695 | 88.57 MB |
Reduced | 12,868 | 1,948 | 35.43 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
modclean-benchmark -m browserify,express,pm2,grunt-cli,npm,karma,bower,cordova,coffee-script,gulp,forever,statsd,grunt,less,yo --patterns="default:*"
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 33,942 | 5,643 | 124.00 MB |
After ModClean | 19,751 | 3,544 | 65.55 MB |
Reduced | 14,191 | 2,099 | 58.47 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
At the company I used to work for, our homegrown application framework uses a module set similar to the below:
modclean-benchmark -m async,body-parser,colors,compression,cookie-parser,edge,express,express-debug,express-session,fs-extra,glob,humanize,jade,js-yaml,less,mime,moment,mongoose,ms,multer,node-uuid,numeral,on-finished,serve-favicon,lodash
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 5,848 | 946 | 32.81 MB |
After ModClean | 3,455 | 628 | 26.19 MB |
Reduced | 2,393 | 318 | 6.62 MB |
Author: Kyle Ross
Last Updated: 1/11/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
modclean-benchmark -m async,body-parser,colors,compression,cookie-parser,edge,express,express-debug,express-session,fs-extra,glob,humanize,jade,js-yaml,less,mime,moment,mongoose,ms,multer,node-uuid,numeral,on-finished,serve-favicon,lodash --patterns="default:*"
Total Files | Total Folders | Total Size | |
---|---|---|---|
Before ModClean | 5,848 | 946 | 32.79 MB |
After ModClean | 3,227 | 598 | 24.01 MB |
Reduced | 2,621 | 348 | 8.79 MB |
Author: Kyle Ross
Last Updated: 1/13/2017
Environment: 2015 Macbook Pro, macOS 10.12.3
Version: ModClean 2.0.0
Information:
Wiki Home
Migrating to 3.x
Migrating to 2.x
Benchmarks
Custom Pattern Plugins
Documentation (v3):
CLI Documentation
API Documentation
Documentation (v2):
CLI Documentation
API Documentation