DOM vs innerHTML based Templating

JavaScript performance comparison

Revision 1011 of this test case created by Yukiko

Preparation code

I've found ways to make due with what's available in hotel 
rooms and city parks, and plenty of new ways to add more resistance in my 
exercises. After you've just completed a strenuous workout - unless you're measuring pre and post-workout 
hydration levels. You realize that your life has changed in many 
ways because of it.
    

Preparation code output

I've found ways to make due with what's available in hotel rooms and city parks, and plenty of new ways to add more resistance in my exercises. After you've just completed a strenuous workout - unless you're measuring pre and post-workout hydration levels. You realize that your life has changed in many ways because of it.

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
Underscore.js Template
I've found ways to make due with what's available in hotel rooms and city parks, and plenty 
of new ways to add more resistance in my exercises. After you've just completed a strenuous workout - unless 
you're measuring pre and post-workout hydration levels.

You realize that your life has changed in many ways because of it.
pending…
Mustache.js Template
I've found ways to make due with what's available in hotel rooms and city parks, and plenty of new ways to add more resistance 
in my exercises. After you've just completed a strenuous 
workout - unless you're measuring pre and post-workout hydration levels.
You realize that your life has changed in many ways because of it.
pending…
Pure JS Template
I've found ways to make due with what's available in hotel rooms and city parks, and plenty of new ways to add more resistance in my exercises.

After you've just completed a strenuous workout - 
unless you're measuring pre and post-workout hydration levels.
You realize that your life has changed in many ways because of it.
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL.

0 Comments

I've found ways to make due with what's available in hotel rooms and city parks, and plenty of new ways to add more resistance in my exercises. After you've just completed a strenuous workout - unless you're measuring pre and post-workout hydration levels. You realize that your life has changed in many ways because of it.