From 625269764ebbe8d0b566e6ef5fc26a6bccd4181d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 13 Jul 2014 14:04:45 +0200 Subject: init --- benchmark.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 benchmark.rb (limited to 'benchmark.rb') diff --git a/benchmark.rb b/benchmark.rb new file mode 100755 index 0000000..81e11f8 --- /dev/null +++ b/benchmark.rb @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + + +ARGV[0].to_i.times { + start = Time.now + `#{ARGV[1]} #{ARGV[2]}` + puts Time.now-start +} + -- cgit v1.2.3