marionettejs/backbone.marionette — pull request #1985 by msimr (2014-10-10 20:54:35+00:00)
Title: Defer the child rendering in CollectionView and CompositeView.

Notice:
I am not currently involved in the core development of marionette.
That said, in my use case there is no unwanted side effect to my fix.
In the case that this patch is dangerous, I would really appreciate the informed input. :)
Nevertheless, here's my patch.

-----

We're already assuming that children are not rendered until they trigger their render event.
Deferring child rendering gives the heap a break and considerably speeds up rendering of huge collections if collection items have multiple behaviors attached to them.

In my specific case, I went from an average load time of 5sec on a large collection with a lot of behaviors to an almost instantaneous rendering.