lib/benchmark/http/command.rb in benchmark-http-0.8.2 vs lib/benchmark/http/command.rb in benchmark-http-0.9.0
- old
+ new
@@ -16,10 +16,11 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+require_relative 'command/latency'
require_relative 'command/concurrency'
require_relative 'command/spider'
require_relative 'version'
require 'samovar'
@@ -39,9 +40,10 @@
option '-h/--help', "Print out help information."
option '-v/--version', "Print out the application version."
end
nested :command, {
+ 'latency' => Latency,
'concurrency' => Concurrency,
'spider' => Spider
}
def verbose?