Skip to content

Commit bcd7946

Browse files
committed
[benchmarks] Fix issue with Tilt 2.0.10
See rtomayko/tilt#347 for details.
1 parent 1f41575 commit bcd7946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/including/compile.erb.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<%
2-
def avg(xs)
2+
def self.avg(xs)
33
xs.inject(0, :+) / xs.length
44
end
55

6-
def amortize(file)
6+
def self.amortize(file)
77
# We remove the first one to mitigate cache effects
88
times = time_compilation(file, 6.times)
99
times.shift

0 commit comments

Comments
 (0)