Files
jekyll/benchmark/string-concat
fen 7729d12cdc include a hashbang for all benchmark scripts
this also makes every benchmark script executable
2016-10-22 03:13:30 +02:00

10 lines
163 B
Ruby
Executable File

#!/usr/bin/env ruby
require 'benchmark/ips'
url = "http://jekyllrb.com"
Benchmark.ips do |x|
x.report('+=') { url += '/' }
x.report('<<') { url << '/' }
end