JSFiddle - React, Tailwind, and code Playground

JavaScript

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

alert(new Date() - startTime);