mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-07 22:24:07 -05:00
13 lines
194 B
Ruby
Executable File
13 lines
194 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
require 'benchmark/ips'
|
|
|
|
Benchmark.ips do |x|
|
|
x.report('parallel assignment') do
|
|
a, b = 1, 2
|
|
end
|
|
x.report('multi-line assignment') do
|
|
a = 1
|
|
b = 2
|
|
end
|
|
end
|