aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/examples
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/examples')
-rw-r--r--activerecord/examples/performance.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb
index cb9ee58f59..2098341763 100644
--- a/activerecord/examples/performance.rb
+++ b/activerecord/examples/performance.rb
@@ -120,10 +120,10 @@ Benchmark.ips(TIME) do |x|
Exhibit.first.look
end
- x.report "Model.take" do
+ x.report "Model.take" do
Exhibit.take
end
-
+
x.report("Model.all limit(100)") do
Exhibit.look Exhibit.limit(100)
end