Source code

Revision control

Other Tools

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