diff options
Diffstat (limited to 'bench.rb')
-rw-r--r-- | bench.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bench.rb b/bench.rb new file mode 100644 index 0000000..e34bcda --- /dev/null +++ b/bench.rb @@ -0,0 +1,13 @@ +#!/usr/bin/env ruby + +require 'benchmark' + +Benchmark.bm(5) do |bm| + bm.report('python') do + `python2.7 ./csv-test.py test.csv out.csv` + end + + bm.report('ruby') do + `ruby ./csv-test.rb test.csv out.csv` + end +end |