# Render collection of partials: in batches of 30?

**URL:** <https://www.ruby-forum.com/t/render-collection-of-partials-in-batches-of-30/177552>\
**Category:** Rails\
**Created:** [October 20, 2009, 2:24am UTC](https://www.ruby-forum.com/t/render-collection-of-partials-in-batches-of-30/177552 "2009-10-20T02:24:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [October 20, 2009, 2:24am UTC](https://www.ruby-forum.com/t/render-collection-of-partials-in-batches-of-30/177552/1 "2009-10-20T02:24:35Z")

</div>

My app is rendering a partial with a collection of 180 ActiveRecords. I  
noticed that while most are in the 3-8ms range, every 30th record is  
over  
100ms. Any ideas what is causing that and if there is a way around it?

TIA,  
Jeffrey
