aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples/views/_hundred_partials.erb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-08 14:05:18 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-08 16:39:06 +0100
commit06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2 (patch)
treed4f3326b6ea541d697993f00d1feb6f5ad23c67e /actionpack/examples/views/_hundred_partials.erb
parent000891805923dc36eaaff891b49363bea6e2af6f (diff)
downloadrails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.tar.gz
rails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.tar.bz2
rails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.zip
Add performance scripts from wycats/rails-simple-benches to actionpack.
Diffstat (limited to 'actionpack/examples/views/_hundred_partials.erb')
-rw-r--r--actionpack/examples/views/_hundred_partials.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/examples/views/_hundred_partials.erb b/actionpack/examples/views/_hundred_partials.erb
new file mode 100644
index 0000000000..35c2a6c9d3
--- /dev/null
+++ b/actionpack/examples/views/_hundred_partials.erb
@@ -0,0 +1,3 @@
+<% 100.times do %>
+ <%= render :partial => "/collection", :object => $OBJECT %>
+<% end %> \ No newline at end of file