meteor-babili-benchmark

1.0.0 • Public • Published

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-benchmark

After 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.

Arguments and Options

The general command format is as follows:
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.

Readme

Keywords

none

Package Sidebar

Install

npm i meteor-babili-benchmark

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ew-smurphy