Javascript benchmark for innerHTML vs. DOM.

This benchmark tests the browser's capability to create the custom sudoku table by using innerHTML in two different ways and using the DOM in two different ways to see which is the most efficient way of handling the custom sudoku tables.

Please note that because the table is actually assigned to the page after every creation, this test is not direct indicative of Javascript speed for the browser, because the browser may or may not rerender the table in between the javascript execution. Because browsers may handle this issue differently, this benchmark can not be relied on to compare speed between browsers. It only compares the differences of these methods for the browser you are using.

DO NOT TRY THIS ON INTERNET EXPLORER. You have been warned. IE is very bad at this, and it will take very long to complete this test. Your browser will just appear as if it had frozen.

Start Test

Test Result 1 Result 2 Result 3 Total Average
InnerHTML string
InnerHTML array
DOM recreate
DOM recreate 2