benchmark: don't check wrk in non-http benchmark
authorJackson Tian <puling.tyq@alibaba-inc.com>
Wed, 8 Apr 2015 08:14:54 +0000 (16:14 +0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 9 Apr 2015 10:09:09 +0000 (12:09 +0200)
commitd2b62a49731b9204359b4d346ca0d017fa2c985f
treec0be8d65dff9bb786bacc114c55264a02baca297
parentb464d467a25bed458cf800ff5117af1c1df8841a
benchmark: don't check wrk in non-http benchmark

When running a non-http benchmark, there is no need the check for the
wrk tool so move the wrk check into the http method.

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