jacobgreenleaf/ThinDOM — pull request #1 by chuyskywalker (2013-05-22 05:53:31+00:00)
Title: Alternate Speed Tests

Something about the jsfiddle test where innerHTML was slower just didn't sit right with me. So I reworked the test to be a bit more true to how such a system would really be used. Low and behold, innerHTML brings out the punches and comes out swinging with better speed.

Not only that, but when considering that you're, more or less, running a template, another method wherein you precreate the dom node, clone it, and do some edits provides an even further speed boost. This is, of course, really only relevant in the context of the blog post in so much as you're discussing performance differences when trying to layout a few thousand comments. But, in that context, this is really worth while.

_(You don't really need to pull this in, but this was an easy way to get the experiment to ya.)_