Source code

Revision control

Other Tools

<!DOCTYPE html>
<style>
.root { display: none; }
.x div { color: blue; }
</style>
<script src="util.js"></script>
<script>
window.onload = function() {
let root = document.createElement("div");
root.className = "root";
root.appendChild(build_dom(100000, "div"));
document.body.appendChild(root);
flush_style(root);
perf_start();
document.body.className = "x";
flush_style(root);
perf_finish();
};
</script>
<body></body>