walmartlabs / thorax

Strengthening your Backbone
http://thoraxjs.org/
Other
1.32k stars 129 forks source link

CollectionView performance boost with Document Fragment #368

Closed yamsellem closed 10 years ago

yamsellem commented 10 years ago

CollectionView can benefit from the use of a Document Fragment to handle rendering its items collection. This should lead to some performance gains.

Marionette v1.3.0 introduces this with « a massive perf boost in rendering collection and composite views » results here.

kpdecker commented 10 years ago

Glad to take a look at a pull request if you have something specific in mind. Closing this issue itself as it's quite broad. On a side note, the example you linked to runs with 1% of each other in both cases in Chrome on the iPhone 5.