benchmark: add filter option for benchmark
authorYosuke Furukawa <yosuke.furukawa@gmail.com>
Sat, 17 Jan 2015 15:33:07 +0000 (00:33 +0900)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 17 Jan 2015 16:13:07 +0000 (17:13 +0100)
commitea7750bddd8051f39fa538905e05f9bf1d1afa5f
tree9757056f0be861efb0f697ba1e408c00274487c8
parent4764eef9b2efdf17cafeb4ec40898c6669a84e3b
benchmark: add filter option for benchmark

Before:

    # common.js executes all tests in net directory.
    $ ./iojs common.js net

After:

    # common.js executes only "dgram" tests in net directory.
    $ ./iojs common.js net dgram

PR-URL: https://github.com/iojs/io.js/pull/488
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
benchmark/common.js