meteor-babili-benchmark
v1.0.0
Published
Babel's benchmark for babili modified to work with the meteor babel package.
Readme
Meteor Babili Benchmark
This package is designed to test Meteor's new Javascript minfication library, Babili. In this package is a bechmark, adapted from the benchmark provided by Babel. It tests Babili, Uglify, Closure, Closure JS, Babili on code compiled with meteor-babel and Uglify on code compiled with meteor-babel.
How to install and run (Globally)
This package is super easy install, simply open a terminal and run:
npm install -g meteor-babili-benchmarkAfter that, simply run the command from your terminal:
meteor-babili-benchmark [options] <arguments>For more information on the arguments and options see here.
How to install and run (Locally)
If you want to run the package locally, you can run the following commands:
git clone https://github.com/eagerestwolf/meteor-babili-benchmark.git
cd meteor-babili-benchmark
npm run benchmark [options] <arguments>For more information on the arguments and options see here.
meteor-babili-benchmark [package@version] [file]The options are as follows:
Option | Effect
-----------------|------------------------------------------------------------------------
-o, --offline | Only install package if not present; package not removed after testing
-r, --runs <n> | Number of times to run tests
`-l, --local | Use local file instead of a package
The arguments are:
- package: The npm package to test
- version: The version of the package
- file: The file in the package to test. If no file is provided then the test default to the main file of the package.
