mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 18:00:41 -07:00
Add single-benchmark execute, simplify compilation
This commit is contained in:
@@ -22,14 +22,6 @@ def get_time_us
|
||||
Process.clock_gettime(Process::CLOCK_MONOTONIC, :microsecond)
|
||||
end
|
||||
|
||||
def render_row(charts)
|
||||
charts.map do |chart|
|
||||
io = StringIO.new
|
||||
chart.render(io)
|
||||
puts io
|
||||
end
|
||||
end
|
||||
|
||||
Benchmarks = Class.new do
|
||||
def initialize
|
||||
@by_name = {}
|
||||
|
||||
Reference in New Issue
Block a user