JSFiddle - React, Tailwind, and code Playground

JavaScript

var numDivs = 10000,
    startTime = new Date();
var html = '';
while(numDivs--){
    html += '<div>Actually, the DOM is fast.</div>';
}
$('body').html(html);

alert(new Date() - startTime);