d_j_s
Joined 14 years ago
Karma
205
Submissions
29
Member since
Oct 25
Joined 14 years ago
http://codepen.io/anon/pen/QbNLxO
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Count...
yepnope will load your script as an image away from the DOM so that it's already cached by your browser.
I'm sure doing a similar thing with LayoutManager wouldn't be too hard. I think LayoutManager uses _render internally too so you may want to call it something else.
It also definitely does make the benchmarks faster http://danshearmur.github.io/backbone-fast-view/
I'm getting pretty good results with swannodette's benchmarks - http://danshearmur.github.io/backbone-fast-view/
I'm getting approx 150ms in Chrome for benchmark 1 and about 400 ms for Chrome for benchmark 2