9 lines
143 B
Plaintext
9 lines
143 B
Plaintext
require 'benchmark/ips'
|
|
|
|
url = "http://jekyllrb.com"
|
|
|
|
Benchmark.ips do |x|
|
|
x.report('+=') { url += '/' }
|
|
x.report('<<') { url << '/' }
|
|
end
|