npm.io
0.0.6 • Published 11 years agoCLI

ybm

Licence
MIT
Version
0.0.6
Deps
9
Vulns
7
Weekly
0

ybm

Your benchmark.

CLI

Install

npm install --global ybm
Usage
  • Watch

    ybm --watch some-benchmark-file

    When some-benchmark-file updated, will trigger re-benchmark this file.

  • Cycle

    ybm --cycle 3 some-benchmark-file

    Run some-benchmark-file three times.

  • NVM - switch node version to run your benchmark file

    ybm --nvm "iojs-v1.0.4, iojs-v2.0.0" some-benchmark-file

    Run some-benchmark-file on iojs-v1.0.4 and iojs-v2.0.0

Using ybm -h to see more help.

NODE

Install
npm install --save ybm
Usage

TODO

  • Add ybm.cycle - 2015/06/23
  • Support nvm to switch node test - 2015/06/24

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Thanks

  • benchmark - A benchmarking library that works on nearly all JavaScript platforms, supports high-resolution timers, and returns statistically significant results.

History

CHANGELOG

License

Copyright (c) 2015 Zhonglei Qiu. Licensed under the MIT license.

Keywords